ソースを参照

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 年 前
コミット
27c6073f41
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/ckeditor5-editor-balloon/src/ballooneditor.js

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