8
0
Krzysztof Krztoń 7 سال پیش
والد
کامیت
95d560fcb3
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 0 2
      packages/ckeditor5-editor-balloon/src/ballooneditor.js
  2. 2 0
      packages/ckeditor5-editor-balloon/src/ballooneditorui.js

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

@@ -191,8 +191,6 @@ export default class BalloonEditor extends Editor {
 				editor.initPlugins()
 				editor.initPlugins()
 					.then( () => {
 					.then( () => {
 						editor.ui.init();
 						editor.ui.init();
-						editor.ui.ready();
-						editor.fire( 'uiReady' );
 					} )
 					} )
 					.then( () => {
 					.then( () => {
 						const initialData = isElement( sourceElementOrData ) ?
 						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();
 				balloonToolbar.hide();
 			}
 			}
 		} );
 		} );
+
+		this.ready();
 	}
 	}
 }
 }