Sfoglia il codice sorgente

Requested changes during the review.

Kamil Piechaczek 6 anni fa
parent
commit
dfb8b6332b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.stylesProcessor );
+					this.data.processor = new HtmlDataProcessor( this.editing.view.document );
 
 					// Create a root for each source element.
 					for ( const rootName of Object.keys( sourceElements ) ) {