Przeglądaj źródła

Fire `ready` event instead of using `ready()` method.

Krzysztof Krztoń 7 lat temu
rodzic
commit
1c615ac11a

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

@@ -88,6 +88,6 @@ export default class BalloonEditorUI extends EditorUI {
 			}
 		} );
 
-		this.ready();
+		this.fire( 'ready' );
 	}
 }

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

@@ -161,8 +161,6 @@ class VirtualBalloonTestEditor extends VirtualTestEditor {
 				editor.initPlugins()
 					.then( () => {
 						editor.ui.init();
-						editor.ui.ready();
-						editor.fire( 'uiReady' );
 						editor.fire( 'dataReady' );
 						editor.fire( 'ready' );
 					} )