Преглед изворни кода

Aligned code with engine changes.

Oskar Wróbel пре 8 година
родитељ
комит
7cd278677a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-editor-inline/src/inlineeditor.js

+ 1 - 1
packages/ckeditor5-editor-inline/src/inlineeditor.js

@@ -52,7 +52,7 @@ export default class InlineEditor extends StandardEditor {
 	constructor( element, config ) {
 		super( element, config );
 
-		this.document.createRoot();
+		this.model.document.createRoot();
 		this.data.processor = new HtmlDataProcessor();
 		this.ui = new InlineEditorUI( this, new InlineEditorUIView( this.locale, element ) );
 	}