Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch i/6324 to master.
Browse files Browse the repository at this point in the history
Internal: Aligned to changes in ckeditor/ckeditor5#6381.
  • Loading branch information
Reinmar committed Mar 12, 2020
2 parents ed37ff0 + 598ceda commit 0ea2622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_snippets/examples/bootstrap-ui-inner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/guides/external-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0ea2622

Please sign in to comment.