Răsfoiți Sursa

Add missing StylesProcessor instance.

Maciej Gołaszewski 6 ani în urmă
părinte
comite
737fd6149a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 ) ) {