Important changes to Tiny Cloud pricing > Find out more
Return to Website

setup

(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);
      });
   }
});

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.