Procházet zdrojové kódy

Aligned code with the engine changes.

Oskar Wróbel před 8 roky
rodič
revize
2fb5fc6abb

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