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 c4e4306 commit b9fc276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ballooneditor.js
Expand Up @@ -77,7 +77,7 @@ export default class BalloonEditor extends Editor {

this.config.define( 'balloonToolbar', this.config.get( 'toolbar' ) );

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 b9fc276

Please sign in to comment.