[wp-trac] [WordPress Trac] #24125: Line breaks in table cells lost when switching from Visual > Text editor

WordPress Trac noreply at wordpress.org
Thu Apr 18 16:06:16 UTC 2013


#24125: Line breaks in table cells lost when switching from Visual > Text editor
-----------------------------+--------------------------
 Reporter:  ericlewis        |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:                   |   Severity:  normal
 Keywords:  needs-patch      |
-----------------------------+--------------------------
 Steps to Reproduce

 1. Create a new post
 2. Add this code in the Text editor to get a basic table with one cell
 {{{
 <table>
 <tbody>
 <tr>
 <td>Line 1</td>
 </tr>
 </tbody>
 </table>
 }}}
 3. Switch to the Visual editor. Put the cursor after Line 1 in the cell.
 Press return. Enter something in Line 2 of the table cell
 4. Save post
 5. On Edit post refresh, click Text editor tab.
 6. The two lines will have been concatenated, and switching back to Visual
 editor now will show that the line break has been lost.

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


More information about the wp-trac mailing list