WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#19630 closed defect (bug) (duplicate)

Individual Option HTML tags being wrapped with Select Tag when switching to visual editor

Reported by: iseekdesign Owned by:
Milestone: Priority: normal
Severity: major Version: 3.2
Component: TinyMCE Keywords:
Focuses: Cc:

Description

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>

Change History (2)

comment:1 linuxologos2 years ago

  • Version changed from 3.3 to 3.2

Happens in 3.2 too.

comment:2 SergeyBiryukov2 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.