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

WordPress Trac noreply at wordpress.org
Wed Dec 12 22:19:34 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, caused by setting all block elements (headers, paragraphs, tables,
 etc.) as valid children of <a>. +1 to @markjaquith's suggestion.

 Also as some elements are both [http://dev.w3.org/html5/markup/common-
 models.html phasing and flow], there's no need to repeat them in the
 [http://core.trac.wordpress.org/browser/trunk/wp-includes/js/tinymce/wp-
 tinymce-schema.js#L62 "children" strings] (B = phasing, C = flow).

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


More information about the wp-trac mailing list