[wp-trac] [WordPress Trac] #13314: HTML is deleted when switched to visual editor

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 12 12:34:19 UTC 2012


#13314: HTML is deleted when switched to visual editor
-------------------------------+------------------------------
 Reporter:  BH8489             |       Owner:  azaozz
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by chirael):

 Replying to [comment:10 azaozz]:
 > Are there any html5 tags that disappear? The current TinyMCE 3.5.6 is
 fully html5 aware, haven't seen or heard of any problems with that.

 Yes, I had the required, autofocus, and placeholder attributes of form
 fields - all valid HTML5 - stripped out when switching to the visual
 editor and back (which I filed as bug 21873 and was then marked as a duo
 of this one)

 Going to the visual editor and back also reformatted the HTML which was
 annoying (it's much harder to edit/debug poorly formatted code, and
 constantly reapplying good formatting only to have the visual editor strip
 it out gets old fast.

 The HTML reformatting is irritating, but removing valid HTML5 attributes
 needed on my page is a serious issue.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13314#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list