WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
12/12/12 22:21:45 (16 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22888, comment 5

    initial v1  
    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). 
     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 not use `[B|C]` for children.