[wp-trac] [WordPress Trac] #28217: select tag added to each new option line in select list

WordPress Trac noreply at wordpress.org
Mon Jun 16 02:06:09 UTC 2014


#28217: select tag added to each new option line in select list
-------------------------------------+-------------------------
 Reporter:  John_W_B                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.0
Component:  TinyMCE                  |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  has-patch => has-patch needs-testing
 * milestone:  Awaiting Review => 4.0


Comment:

 Not sure how this worked in MCE 3.x. Also having line breaks inside
 `<select>`, adds `<p>`/`<br>` on the front end. Don't see a point in
 preserving the line breaks, better to remove them (MCE will strip all line
 breaks on getContent() anyways).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28217#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list