Преглед изворни кода

Update docs/_snippets/examples/bootstrap-ui-inner.js

Co-Authored-By: f1ames <dr.odpowiedz@gmail.com>
Piotr Jasiun пре 7 година
родитељ
комит
d5566831cc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

+ 1 - 1
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

@@ -161,7 +161,7 @@ class BootstrapEditorUI extends EditorUI {
 		this._elementReplacer.replace( replacementElement, view.editable.element );
 
 		// Tell the world that the UI of the editor is ready to use.
-		this.ready();
+		this.fire( 'ready' );
 	}
 
 	destroy() {