Add EditorLabel

This commit is contained in:
Ian Gulliver
2019-07-10 04:09:54 +00:00
parent 9202ab2001
commit 56ff0d1201
6 changed files with 157 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ class EditorGroup extends EditorEntryBase {
this.elem_.classList.add('group');
let nodeList = document.createElement('div');
this.nodes_ = new Editor(nodeList, [Editor.NODE]);
this.nodes_ = new Editor(nodeList, [Editor.NODE, Editor.LABEL]);
this.nodes_.setMinEntries(1);
this.nodes_.addNodeAfter();
this.elem_.appendChild(nodeList);