WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22888, comment 15


Ignore:
Timestamp:
12/14/12 21:01:00 (16 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22888, comment 15

    initial v1  
    11Yes, using `style_formats` in the TinyMCE init overwrites the internal handling of the elements. The syntax for this option is almost the same as for the [http://www.tinymce.com/wiki.php/Configuration:formats 'formats' option] which is used for replacing the default behavior in TinyMCE for different controls and elements, so it needs the `href` attribute there too. 
     2 
     3Generally you're specifying the tag that would wrap the selected text or will be inserted at the caret location, together with all attributes.