Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #93 from ckeditor/t/ckeditor5/1838
Browse files Browse the repository at this point in the history
Internal: Used the new `EditorUI#setEditableElement()` API in the `ClassicEditorUI` class (see ckeditor/ckeditor5#1838).
  • Loading branch information
jodator authored Jun 28, 2019
2 parents edd934c + 365eb94 commit a4ebb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classiceditorui.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class ClassicEditorUI extends EditorUI {

// Register the editable UI view in the editor. A single editor instance can aggregate multiple
// editable areas (roots) but the classic 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
Expand Down

0 comments on commit a4ebb58

Please sign in to comment.