Selaa lähdekoodia

Merge branch 'master' into t/ckeditor5-watchdog/1

Oskar Wróbel 6 vuotta sitten
vanhempi
commit
228aad534f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/ckeditor5-editor-classic/src/classiceditorui.js

+ 1 - 1
packages/ckeditor5-editor-classic/src/classiceditorui.js

@@ -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