Sfoglia il codice sorgente

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

Aleksander Nowodzinski 5 anni fa
parent
commit
35dd92fd41

+ 1 - 1
packages/ckeditor5-editor-decoupled/src/decouplededitor.js

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