浏览代码

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 ) );
 	}