浏览代码

Merge pull request #36 from ckeditor/i/6091

Internal: Adjusted the code to changes required for replacing the `StylesProcessor` singleton with an instance of the class. See ckeditor/ckeditor5#6091.
Piotrek Koszuliński 5 年之前
父节点
当前提交
e3a0ea6f93
共有 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.editing.view.document );
 
 					// Create a root for each source element.
 					for ( const rootName of Object.keys( sourceElements ) ) {