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

Commit

Permalink
Internal: Re-used the DataController#viewDocument as a document for…
Browse files Browse the repository at this point in the history
… the `HtmlDataProcessor` in the data pipeline.
  • Loading branch information
oleq committed Mar 12, 2020
1 parent 65223bc commit ee53dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inlineeditor.js
Expand Up @@ -64,7 +64,7 @@ export default class InlineEditor extends Editor {
constructor( sourceElementOrData, config ) {
super( config );

this.data.processor = new HtmlDataProcessor( this.editing.view.document );
this.data.processor = new HtmlDataProcessor( this.data.viewDocument );

this.model.document.createRoot();

Expand Down

0 comments on commit ee53dae

Please sign in to comment.