8
0
Quellcode durchsuchen

Merge pull request #48 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 vor 5 Jahren
Ursprung
Commit
b5b2e4965d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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.editing.view.document );
 
 		this.model.document.createRoot();