Explorar el Código

Aligned to the new EditorUI API.

Aleksander Nowodzinski hace 7 años
padre
commit
52a702fe43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 );