TinyMCE:Configuration/setup

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: 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);
      });
   }
});
Personal tools