Ver código fonte

Merge pull request #43 from ckeditor/i/6091

Internal: Adjusted the code to changes required for replacing the `StylesProcessor` singleton with an instance of the class. See ckeditor/ckeditor5#6091.
Piotrek Koszuliński 5 anos atrás
pai
commit
27c6073f41

+ 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.data.processor = new HtmlDataProcessor( this.editing.view.document );
 
 		this.model.document.createRoot();