(Requires: 3.0)
This option enables you to add events to editor instances before they get rendered.
Example of usage of the setup option:
tinyMCE.init({
...
setup : function(ed) {
ed.onClick.add(function(ed, evt) {
ed.selection.select(evt.target);
});
}
});
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.