Skip to content
Snippets Groups Projects

new wrapper component

Merged Christos requested to merge delete-multiple-choice into master
Files
5
@@ -23,7 +23,11 @@ export default class MultipleChoiceSingleCorrectContainerNodeView extends Questi
}
stopEvent(event) {
if (event.target.type === 'text') {
if (
!event.target.type ||
event.target.type === 'button' ||
event.target.type === 'text'
) {
return true;
}
const innerView = this.context.pmViews[this.node.attrs.id];