diff --git a/src/editor/Editor.jsx b/src/editor/Editor.jsx index ad6e402..8f47954 100644 --- a/src/editor/Editor.jsx +++ b/src/editor/Editor.jsx @@ -106,6 +106,9 @@ export default class Editor extends Component { return meta; } + getCurrentAnnotation = () => + this.state.currentAnnotation.clone(); + /** Shorthand **/ updateCurrentAnnotation = (diff, saveImmediately) => this.setState({ currentAnnotation: this.state.currentAnnotation.clone(diff)