瀏覽代碼

Aligned to changes in Editor class.

Kamil Piechaczek 6 年之前
父節點
當前提交
f641378d15

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