Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A "tinymce-editor-setup" event is sent when TinyMCE is ready #2509

Merged
merged 1 commit into from Jul 5, 2018

Conversation

roadster31
Copy link
Contributor

@roadster31 roadster31 commented Jul 5, 2018

When TinyMCE becomes ready, a tinymce-editor-setup event is triggered to the document. This it is now possible to perform actions when TinyMCE is ready :

$(document).on( 'tinymce-editor-setup', function( event, editor ) {
    console.log("TyniMCE editor id " + editor.id + " is now ready !")
});

The editor parameter is the TinyMCE object.

@roadster31 roadster31 merged commit 9c4fcde into thelia:master Jul 5, 2018
@roadster31 roadster31 deleted the tinymce-init-event branch October 29, 2018 15:42
Lucanis pushed a commit to Lucanis/thelia that referenced this pull request Feb 21, 2022
A "tinymce-editor-setup" event is sent when TinyMCE is ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant