ソースを参照

Requested changes during the review.

Kamil Piechaczek 5 年 前
コミット
10f45b60f4

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