Преглед изворни кода

Add missing StylesProcessor instance.

Maciej Gołaszewski пре 6 година
родитељ
комит
737fd6149a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-watchdog/tests/editorwatchdog.js

+ 1 - 1
packages/ckeditor5-watchdog/tests/editorwatchdog.js

@@ -937,7 +937,7 @@ describe( 'EditorWatchdog', () => {
 				constructor( sourceElements, config ) {
 					super( config );
 
-					this.data.processor = new HtmlDataProcessor();
+					this.data.processor = new HtmlDataProcessor( this.stylesProcessor );
 
 					// Create a root for each source element.
 					for ( const rootName of Object.keys( sourceElements ) ) {