浏览代码

Merge branch i/6324 to master.

Internal: Aligned to changes in ckeditor/ckeditor5#6381.
Piotrek Koszuliński 5 年之前
父节点
当前提交
0944f27307

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

@@ -52,7 +52,7 @@ export default class BootstrapEditor extends Editor {
 		this.sourceElement = element;
 
 		// Use the HTML data processor in this editor.
-		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
+		this.data.processor = new HtmlDataProcessor( this.data.viewDocument );
 
 		// Create the ("main") root element of the model tree.
 		this.model.document.createRoot();

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

@@ -71,7 +71,7 @@ export default class BootstrapEditor extends Editor {
 		this.sourceElement = element;
 
 		// Use the HTML data processor in this editor.
-		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
+		this.data.processor = new HtmlDataProcessor( this.data.viewDocument );
 
 		// Create the ("main") root element of the model tree.
 		this.model.document.createRoot();