Ver código fonte

Internal: Re-used the `DataController#viewDocument` as a document for the `HtmlDataProcessor` in the data pipeline.

Aleksander Nowodzinski 5 anos atrás
pai
commit
7c0060aafe

+ 1 - 1
packages/ckeditor5-editor-balloon/src/ballooneditor.js

@@ -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();