• Home
  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Welcome Guest! Login or Register
Version: 3.5.0.1 Headerimage

Get your own copy

Don't hesitate! Just download and test it all by yourself for free!

  • You are here:
  • TinyMCE
  • Reference
  • Configuration
  • Callbacks
  • setup
  • History
  • New wiki page

setup

  • Edit wiki page
  • Page revisions
  • Print

(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);
});
}
});
  • TinyMCE
    • Security
    • "For Dummies"
    • Accessibility
    • Browser compatiblity
    • Compressors
    • Customization
    • How-tos
    • Installation
    • Language
    • License
    • Reference
      • Plugins
      • Buttons/controls
      • Command identifiers
      • Configuration
        • Advanced theme
        • Callbacks
          • cleanup_callback
          • execcommand_callback
          • file_browser_callback
          • handle_event_callback
          • handle_node_change_callback
          • init_instance_callback
          • onchange_callback
          • oninit
          • onpageload
          • remove_instance_callback
          • save_callback
          • setup
          • setupcontent_callback
          • urlconverter_callback
        • Cleanup/Output
        • File_lists
        • General
        • Layout
        • Triggers/Patches
        • Undo/Redo
        • URL
        • Visual aid
      • Deprecated Configuration Options
      • jQuery Plugin
    • Software using TinyMCE
  • TinyMCE FAQ
  • TinyMCE API 3.x
  • MCImageManager
  • MCFileManager

Search

Search documentation.

Search

Need support?

If you need support, premium support is provided by our partners.

ask question
Back to site top

Provided for developers anywhere, everywhere, anytime and with any content.

  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Moxiecode

© 2003-2012 Moxiecode Systems AB.
All rights Reserved.
By being on this site, you allow cookies to be used.