From 17100aa2a51f86cf4657df54fdfb9fb3b3fa449a Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 12 Mar 2020 11:28:23 +0100 Subject: [PATCH] Internal: Re-used the `DataController#viewDocument` as a document for the `HtmlDataProcessor` in the data pipeline. --- src/decouplededitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decouplededitor.js b/src/decouplededitor.js index c835fd0..b070b0d 100644 --- a/src/decouplededitor.js +++ b/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();