浏览代码

Add missing StylesProcessor instance.

Maciej Gołaszewski 5 年之前
父节点
当前提交
98b978b77f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-editor-decoupled/src/decouplededitor.js

+ 1 - 1
packages/ckeditor5-editor-decoupled/src/decouplededitor.js

@@ -72,7 +72,7 @@ export default class DecoupledEditor extends Editor {
 			secureSourceElement( this );
 		}
 
-		this.data.processor = new HtmlDataProcessor();
+		this.data.processor = new HtmlDataProcessor( this.stylesProcessor );
 
 		this.model.document.createRoot();