Merge branch 'master' of github.com:recogito/recogito-client-core
This commit is contained in:
commit
65928519de
|
@ -94,6 +94,8 @@ export default class TextAnnotator extends Component {
|
||||||
this.clearState();
|
this.clearState();
|
||||||
this.selectionHandler.clearSelection();
|
this.selectionHandler.clearSelection();
|
||||||
this.highlighter.removeAnnotation(annotation);
|
this.highlighter.removeAnnotation(annotation);
|
||||||
|
|
||||||
|
this.props.onAnnotationDeleted(annotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Cancel button on annotation editor **/
|
/** Cancel button on annotation editor **/
|
||||||
|
@ -217,4 +219,4 @@ export default class TextAnnotator extends Component {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue