Ver Fonte

Merge pull request #57 from ckeditor/t/ckeditor5/1838

Internal: Used the new `EditorUI#setEditableElement()` API in the `InlineEditorUI` class (see ckeditor/ckeditor5#1838).
Maciej há 6 anos atrás
pai
commit
25efb12977
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/ckeditor5-editor-inline/src/inlineeditorui.js

+ 1 - 1
packages/ckeditor5-editor-inline/src/inlineeditorui.js

@@ -73,7 +73,7 @@ export default class InlineEditorUI extends EditorUI {
 
 		// Register the editable UI view in the editor. A single editor instance can aggregate multiple
 		// editable areas (roots) but the inline editor has only one.
-		this._editableElements.set( editable.name, editableElement );
+		this.setEditableElement( editable.name, editableElement );
 
 		// Let the global focus tracker know that the editable UI element is focusable and
 		// belongs to the editor. From now on, the focus tracker will sustain the editor focus