Browse Source

Aligned code with the engine changes.

Oskar Wróbel 8 years ago
parent
commit
2fb5fc6abb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-editor-classic/src/classiceditor.js

+ 1 - 1
packages/ckeditor5-editor-classic/src/classiceditor.js

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