ソースを参照

Add missing StylesProcessor instance.

Maciej Gołaszewski 5 年 前
コミット
f8fc980486
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/ckeditor5-editor-classic/src/classiceditor.js

+ 1 - 1
packages/ckeditor5-editor-classic/src/classiceditor.js

@@ -66,7 +66,7 @@ export default class ClassicEditor extends Editor {
 			this.sourceElement = sourceElementOrData;
 		}
 
-		this.data.processor = new HtmlDataProcessor();
+		this.data.processor = new HtmlDataProcessor( this.stylesProcessor );
 
 		this.model.document.createRoot();