Browse Source

Aligned code with engine changes.

Oskar Wróbel 8 years ago
parent
commit
aebbee518e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-editor-balloon/src/ballooneditor.js

+ 1 - 1
packages/ckeditor5-editor-balloon/src/ballooneditor.js

@@ -56,7 +56,7 @@ export default class BalloonEditor extends StandardEditor {
 		this.config.get( 'plugins' ).push( ContextualToolbar );
 		this.config.define( 'contextualToolbar', this.config.get( 'toolbar' ) );
 
-		this.document.createRoot();
+		this.model.document.createRoot();
 		this.data.processor = new HtmlDataProcessor();
 		this.ui = new BalloonEditorUI( this, new BalloonEditorUIView( this.locale, element ) );
 	}