8
0
Просмотр исходного кода

Internal: Re-used the `DataController#viewDocument` as a document for the `HtmlDataProcessor` in the data pipeline.

Aleksander Nowodzinski 5 лет назад
Родитель
Сommit
00bace7a9a
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.editing.view.document );
+					this.data.processor = new HtmlDataProcessor( this.data.viewDocument );
 
 					// Create a root for each source element.
 					for ( const rootName of Object.keys( sourceElements ) ) {