Skip to content

Commit

Permalink
Merge pull request #2509 from roadster31/tinymce-init-event
Browse files Browse the repository at this point in the history
A "tinymce-editor-setup" event is sent when TinyMCE is ready
  • Loading branch information
roadster31 committed Jul 5, 2018
2 parents b060380 + ec15b1e commit 9c4fcde
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -114,6 +114,10 @@
convert_urls: false,
relative_urls : false,
// Use file to get an url without index.php or index_dev.php
document_base_url : "{url file="/"}"
document_base_url : "{url file="/"}",
// Trigger a "ready" event to the document
init_instance_callback : function(editor) {
$(document).trigger('tinymce-editor-setup', editor);
}
});
</script>

0 comments on commit 9c4fcde

Please sign in to comment.