Support bulk-delete of non-nodes

This commit is contained in:
Ian Gulliver
2019-07-14 22:48:35 +00:00
parent e6e892572f
commit b938ce2d97

View File

@@ -62,7 +62,7 @@ class Editor extends List {
}
deleteSelected() {
let highlight = this.queryEntries('.highlight', EditorNode);
let highlight = this.queryEntries('.highlight');
if (highlight.length == 0) {
return super.deleteSelected();
}