[wp-trac] [WordPress Trac] #22888: Block <a> tags are getting stripped from the Editor

WordPress Trac noreply at wordpress.org
Fri Dec 14 20:57:13 UTC 2012


#22888: Block <a> tags are getting stripped from the Editor
-----------------------------+--------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  3.5.1
Component:  Editor           |     Version:  3.5
 Severity:  major            |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+--------------------

Comment (by azaozz):

 Yes, 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22888#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list