Jelajahi Sumber

Merge pull request #66 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 tahun lalu
induk
melakukan
7aa1fa6021
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/ckeditor5-editor-inline/src/inlineeditor.js

+ 1 - 1
packages/ckeditor5-editor-inline/src/inlineeditor.js

@@ -64,7 +64,7 @@ export default class InlineEditor extends Editor {
 	constructor( sourceElementOrData, config ) {
 		super( config );
 
-		this.data.processor = new HtmlDataProcessor();
+		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
 
 		this.model.document.createRoot();