Explorar el Código

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

Aleksander Nowodzinski hace 5 años
padre
commit
bf93c254dd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-editor-classic/src/classiceditor.js

+ 1 - 1
packages/ckeditor5-editor-classic/src/classiceditor.js

@@ -66,7 +66,7 @@ export default class ClassicEditor extends Editor {
 			this.sourceElement = sourceElementOrData;
 		}
 
-		this.data.processor = new HtmlDataProcessor( this.editing.view.document );
+		this.data.processor = new HtmlDataProcessor( this.data.viewDocument );
 
 		this.model.document.createRoot();