From b938ce2d974744728f5ef0a987a585ae441475e7 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 14 Jul 2019 22:48:35 +0000 Subject: [PATCH] Support bulk-delete of non-nodes --- Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor.js b/Editor.js index 7968c5e..16975f1 100644 --- a/Editor.js +++ b/Editor.js @@ -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(); }