[wp-trac] [WordPress Trac] #21873: Visual editor removes valid HTML5 attributes (required, autofocus, placeholder)
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 12 04:52:24 UTC 2012
#21873: Visual editor removes valid HTML5 attributes (required, autofocus,
placeholder)
-----------------------------+--------------------------
Reporter: chirael | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Editor
Version: 3.4.2 | Severity: normal
Keywords: |
-----------------------------+--------------------------
In HTML editing mode I have a few input fields that I've added the HTML5
required and placeholder attributes to, and one that I added autofocus to.
When I switched the page to Visual editing mode, and then clicked Update,
I noticed that my page no longer worked as expected, so then when I
clicked back to HTML editing mode, those attributes had been deleted.
Since they are valid HTML5 attributes I don't think WP should be removing
them.
(It may remove other HTML5 attributes as well, I haven't checked)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21873>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list