This commit is contained in:
Ian Gulliver
2019-07-10 21:32:52 +00:00
parent 04ec47e393
commit 703be7aa75
9 changed files with 147 additions and 17 deletions

View File

@@ -33,6 +33,10 @@ class EditorEntryBase extends ListenUtils {
return false;
}
getElement() {
return this.elem_;
}
onElemFocus() {
this.elem_.scrollIntoView({block: 'nearest'});
}
@@ -59,6 +63,8 @@ class EditorEntryBase extends ListenUtils {
switch (ser.type) {
case 'group':
return EditorGroup.unserialize(ser);
case 'help':
return EditorHelp.unserialize(ser);
case 'label':
return EditorLabel.unserialize(ser);
case 'link':