Răsfoiți Sursa

Aligned to the new EditorUI API.

Aleksander Nowodzinski 7 ani în urmă
părinte
comite
52a702fe43

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