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

Commit

Permalink
Internal: Used the new EditorUI#setEditableElement() API in the Class…
Browse files Browse the repository at this point in the history
…icEditorUI class.
  • Loading branch information
oleq committed Jun 27, 2019
1 parent edd934c commit 365eb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classiceditorui.js
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 365eb94

Please sign in to comment.