Make WordPress Core

Opened 15 years ago

Closed 15 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:
Priority: normal Milestone:
Component: TinyMCE Version: 3.2
Severity: major Keywords:
Cc: Focuses:

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)

#1 @linuxologos
15 years ago

  • Version 3.3 → 3.2

Happens in 3.2 too.

#2 @SergeyBiryukov
15 years ago

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