8
0
Просмотр исходного кода

Requested changes during the review.

Kamil Piechaczek 6 лет назад
Родитель
Сommit
a53c6a659b

+ 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.data.stylesProcessor );
+		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
 
 		// 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.data.stylesProcessor );
+		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
 
 		// Create the ("main") root element of the model tree.
 		this.model.document.createRoot();