|
|
@@ -61,13 +61,6 @@ export default class InlineEditorUI extends EditorUI {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @inheritDoc
|
|
|
- */
|
|
|
- getEditableElement( rootName = 'main' ) {
|
|
|
- return this.view.editable.name === rootName ? this.view.editable.element : null;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
* Initializes the UI.
|
|
|
*/
|
|
|
init() {
|
|
|
@@ -105,6 +98,8 @@ export default class InlineEditorUI extends EditorUI {
|
|
|
editor.editing.view.attachDomRoot( view.editable.editableElement );
|
|
|
view.editable.name = editingRoot.rootName;
|
|
|
|
|
|
+ this._editableElements.push( view.editable );
|
|
|
+
|
|
|
this.focusTracker.add( view.editable.editableElement );
|
|
|
|
|
|
view.toolbar.fillFromConfig( this._toolbarConfig.items, this.componentFactory );
|