Ver código fonte

Aligned to the new EditorUI API.

Aleksander Nowodzinski 6 anos atrás
pai
commit
8a336d9487

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