Parcourir la source

Add missing StylesProcessor instance.

Maciej Gołaszewski il y a 5 ans
Parent
commit
f8fc980486
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();