8
0
Krzysztof Krztoń 7 лет назад
Родитель
Сommit
5367b56ee0

+ 3 - 0
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

@@ -170,6 +170,9 @@ class BootstrapEditorUI extends EditorUI {
 		// Restore the original editor#element.
 		this._elementReplacer.restore();
 
+		// Destroy the view.
+		this._view.destroy();
+
 		super.destroy();
 	}
 

+ 3 - 0
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

@@ -305,6 +305,9 @@ class BootstrapEditorUI extends EditorUI {
 		// Restore the original editor#element.
 		this._elementReplacer.restore();
 
+		// Destroy the view.
+		this._view.destroy();
+
 		super.destroy();
 	}