Parcourir la source

Internal: Used the new EditorUI#setEditableElement() API in the InlineEditorUI class.

Aleksander Nowodzinski il y a 6 ans
Parent
commit
b485ee52cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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