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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 12 13:15:48 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 SergeyBiryukov):

 Replying to [comment:20 scribu]:
 > No, it means the attributes are removed in WP 3.4.2, but not in WP
 3.5-alpha.

 That's what I meant, sorry for being unclear.

 However, I've just confirmed that `required`, `placeholder` and
 `autofocus` attributes still disappear in trunk:
 {{{
 <input type="text" name="first_name" placeholder="First name"
 required="required" autofocus="autofocus" />
 }}}
 After switching to Visual tab and back:
 {{{
 <input type="text" name="first_name" />
 }}}

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


More information about the wp-trac mailing list