From ee53dae9dec4f1710f17b39df3fa36391a99aa76 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 12 Mar 2020 11:28:31 +0100 Subject: [PATCH] Internal: Re-used the `DataController#viewDocument` as a document for the `HtmlDataProcessor` in the data pipeline. --- src/inlineeditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inlineeditor.js b/src/inlineeditor.js index a263906..da36415 100644 --- a/src/inlineeditor.js +++ b/src/inlineeditor.js @@ -64,7 +64,7 @@ export default class InlineEditor extends Editor { constructor( sourceElementOrData, config ) { super( config ); - this.data.processor = new HtmlDataProcessor( this.editing.view.document ); + this.data.processor = new HtmlDataProcessor( this.data.viewDocument ); this.model.document.createRoot();