Explorar o código

Aligned changes to API in engine.

Kamil Piechaczek %!s(int64=6) %!d(string=hai) anos
pai
achega
12ddd1013e

+ 1 - 1
packages/ckeditor5-core/tests/_utils/classictesteditor.js

@@ -34,7 +34,7 @@ export default class ClassicTestEditor extends Editor {
 		}
 
 		// Use the HTML data processor in this editor.
-		this.data.processor = new HtmlDataProcessor();
+		this.data.processor = new HtmlDataProcessor( this.stylesProcessor );
 
 		// Create the ("main") root element of the model tree.
 		this.model.document.createRoot();

+ 1 - 1
packages/ckeditor5-core/tests/_utils/modeltesteditor.js

@@ -21,7 +21,7 @@ export default class ModelTestEditor extends Editor {
 		super( config );
 
 		// Use the HTML data processor in this editor.
-		this.data.processor = new HtmlDataProcessor();
+		this.data.processor = new HtmlDataProcessor( this.stylesProcessor );
 
 		// Disable editing pipeline.
 		this.editing.destroy();