Преглед на файлове

Aligned to the new EditorUI API.

Aleksander Nowodzinski преди 7 години
родител
ревизия
52a702fe43
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-editor-decoupled/src/decouplededitorui.js

+ 1 - 1
packages/ckeditor5-editor-decoupled/src/decouplededitorui.js

@@ -95,7 +95,7 @@ export default class DecoupledEditorUI extends EditorUI {
 	 * @inheritDoc
 	 */
 	destroy() {
-		const view = this._view;
+		const view = this.view;
 		const editingView = this.editor.editing.view;
 
 		editingView.detachDomRoot( view.editable.name );