Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22888, comment 5


Ignore:
Timestamp:
12/12/2012 10:22:42 PM (12 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22888, comment 5

    v1 v2  
    11Yes, caused by setting all block elements (headers, paragraphs, tables, etc.) as valid children of <a>. +1 to @markjaquith's suggestion.
    22
    3 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), or perhaps better to set C = all flow elements as per W3C and not use `[B|C]` for children.
     3Also 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), or perhaps better to set C = all flow elements as per W3C and only use `[C]` for elements that can contain flow.