Add a custom event listener to a Textbox.io editor loaded event with editor.events.loaded.addlistener().
You can detect that an editor has finished loading by attaching a callback function to the editor’s loaded event.
Example
editor.events.loaded.addListener(callback)
// Add a custom event listener to the editor loaded event
editor.events.loaded.addListener(function() {
alert('Textbox.io has loaded.');
});
Parameters
callback | Function | Function executed when the editor has loaded. |
Returns
No return value.