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

t/ckeditor5/1838: Used the new EditorUI#setEditableElement() API in the BalloonEditorUI class #36

Merged
merged 1 commit into from
Jun 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ballooneditorui.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class BalloonEditorUI extends EditorUI {

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