소스 검색

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 6 년 전
부모
커밋
25efb12977
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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