Krzysztof Krztoń 7 lat temu
rodzic
commit
95d560fcb3

+ 0 - 2
packages/ckeditor5-editor-balloon/src/ballooneditor.js

@@ -191,8 +191,6 @@ export default class BalloonEditor extends Editor {
 				editor.initPlugins()
 					.then( () => {
 						editor.ui.init();
-						editor.ui.ready();
-						editor.fire( 'uiReady' );
 					} )
 					.then( () => {
 						const initialData = isElement( sourceElementOrData ) ?

+ 2 - 0
packages/ckeditor5-editor-balloon/src/ballooneditorui.js

@@ -92,5 +92,7 @@ export default class BalloonEditorUI extends EditorUI {
 				balloonToolbar.hide();
 			}
 		} );
+
+		this.ready();
 	}
 }