Преглед на файлове

Aligned code with the engine changes.

Oskar Wróbel преди 8 години
родител
ревизия
2fb5fc6abb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 ) {
 		super( element, config );
 
-		this.document.createRoot();
+		this.model.document.createRoot();
 		this.data.processor = new HtmlDataProcessor();
 		this.ui = new ClassicEditorUI( this, new ClassicEditorUIView( this.locale ) );