[wp-trac] [WordPress Trac] #19630: Individual Option HTML tags being wrapped with Select Tag when switching to visual editor

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 21 10:49:48 UTC 2011


#19630: Individual Option HTML tags being wrapped with Select Tag when switching to
visual editor
--------------------------+-----------------------------
 Reporter:  iseekdesign   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.3
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-----------------------------
 '''Scenario''':
 When pasting code that includes a form dropdown select input into post
 (html view) everything works as expected. Switching to TinyMCE editor
 modifies the Option tag and wraps the code in Select therefore splitting
 the dropdown into several dropdowns with one item each.

 This happens for example when pasting PayPal code (with product options)
 into a post/page.

 '''Code example:'''

 This code
 {{{
 <select name="myselect">
  <option></option>
  <option></option>
 </select>
 }}}

 Becomes this code


 {{{
 <select name="myselect">
  <option></option>
 </select>
 <select name="myselect">
  <option></option>
 </select>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19630>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list