[wp-trac] [WordPress Trac] #14264: Add support for HTML5 Section elements to editor
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 21 17:22:21 UTC 2011
#14264: Add support for HTML5 Section elements to editor
-------------------------+-----------------------
Reporter: cyberskull | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: TinyMCE | Version: 3.0
Severity: normal | Resolution:
Keywords: HTML5 |
-------------------------+-----------------------
Changes (by MarcusPope):
* cc: marcus.pope@… (added)
* status: closed => reopened
* resolution: wontfix =>
Comment:
Hey @azaozz, just wanted to report that I have successfully enabled
editing HTML5 documents in the admin area. It required changes to both
tinymce (doctype, extended_valid_elements, and valid_children) and the
wordpress core (wpautop), but it works and works well with all modern
browsers as of this comment.
There is one remaining issue that I'm having which is the anchor tag now
supports containing flow elements (block level elements) in html5, yet
wpautop doesn't handle that aspect properly. If I disable wpautop
entirely everything works perfectly.
I'd like to either re-open this ticket now that other html5 features have
been added in http://core.trac.wordpress.org/changeset/13982 or open a new
ticket.
I'm not sure if it's as simple as adding "|a" to $allblocks or if it will
require more customization because for my purposes I had to completely
disable wpautop anyway (for client-specific reasons.) With wpautop
enabled the behavior is similar to
http://core.trac.wordpress.org/ticket/15918 so there may not even be a
need for a new ticket.
I'd contact you directly, but I don't know how :( so hopefully you see
this comment :D I can be reached either here, or at marcus.pope at
springbox.com
Thanks!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14264#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list