瀏覽代碼

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 );