[wp-trac] [WordPress Trac] #58259: Switching from HTML to Visual editor removes paragraphs after line breaks inside TABLES

WordPress Trac noreply at wordpress.org
Fri May 5 11:09:43 UTC 2023


#58259: Switching from HTML to Visual editor removes paragraphs after line breaks
inside TABLES
---------------------------+-----------------------------
 Reporter:  RustyBadRobot  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  TinyMCE        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Empty paragraphs between line breaks inside a TABLE are removed when
 switching editor mode from HTML to Visual:

 <table>
 <tbody>
 <tr>
 <td>Line 1
 Line 2

  

 Line 3
 Line 4</td>
 </tr>
 </tbody>
 </table>

 After switching between Text / Visual becomes:

 <table>
 <tbody>
 <tr>
 <td>Line 1
 Line 2 

 Line 3
 Line 4</td>
 </tr>
 </tbody>
 </table>

 Then after another switch becomes:

 <table>
 <tbody>
 <tr>
 <td>Line 1
 Line 2Line 3
 Line 4</td>
 </tr>
 </tbody>
 </table>

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58259>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list