瀏覽代碼

Aligned to the new EditorUI API.

Aleksander Nowodzinski 6 年之前
父節點
當前提交
8a336d9487
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-editor-classic/src/classiceditorui.js

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

@@ -116,7 +116,7 @@ export default class ClassicEditorUI extends EditorUI {
 	 * @inheritDoc
 	 */
 	destroy() {
-		const view = this._view;
+		const view = this.view;
 		const editingView = this.editor.editing.view;
 
 		this._elementReplacer.restore();