[wp-trac] [WordPress Trac] #14264: Add support for HTML5 Section elements to editor
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 11 01:35:06 UTC 2012
#14264: Add support for HTML5 Section elements to editor
---------------------------+-------------------------
Reporter: cyberskull | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version: 3.0
Severity: normal | Resolution: maybelater
Keywords: HTML5 wpautop |
---------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:17 WraithKenny]:
> What a long, strangely surreal, conversation on this ticket. I carefully
read every line of the back and forth between MarcusPope and azaozz, and
could find no flaw in any sentiment shared by Marcus.
>
> ...I understand the decision to be to intentionally obstruct HTML5 usage
even ''on the theme-side of the blog'' for the expressed purpose of
protecting blog readers from HTML5, regardless of what the actual blog
owners want.
Not sure where that understanding comes from... Can repeat the answer from
6 months ago:
http://core.trac.wordpress.org/ticket/14264?replyto=17#comment:14
Replying to [comment:18 MarcusPope]:
> ...browsers error-correct the block level anchor tags...
This can be tested pretty easy/fast: make a webpage containing
`<a><h3>...</h3><p>...</p></a>`, then look at the internal browser
representation of the html.
> ...effort it takes to get any traction on improving that compliance...
You're right, however the original problem in this ticket has been fixed.
TinyMCE supports article, section, aside, nav, hgroup, header, footer, and
some other HTML 5 tags now so the ticket should be closed.
If you want to work on a patch for handling block tags inside <a> in
wpautop, feel free to open new ticket and add the patch there.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14264#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list