WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #2992


Ignore:
Timestamp:
01/10/07 21:12:55 (7 years ago)
Author:
foolswisdom
Comment:

Confirmed bug.
ENV: WP 2.1-beta1 r4716

Updating ticket description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2992

    • Property Keywords data-loss added
    • Property Severity changed from major to blocker
    • Property Summary changed from HTML editor eats rows with properties from tables to HTML editor deletes rows (that have properties) from tables
  • Ticket #2992 – Description

    initial v5  
    1 '''Summary'''[[BR]] 
    2 Concerning tables: When rows have properties, and there are multiple rows in the table, then only the first row is saved (i.e. the other rows are deleted). 
     1Concerning tables: When rows have properties, and there are multiple rows in the table, all rows but the first will be deleted when you revisit the Code tab. 
    32 
    4 '''Example'''[[BR]] 
    5 Original code: 
     3REPRO: always [[br]] 
     4STEPS: [[br]] 
     5 
     61. as admin (also confirmed with author, but stripping not deleting is appropriate then) [[br]] 
     72. In Write Post, click Code tab [[br]] 
     83. Enter 
    69{{{ 
    710<table> 
     
    1821    <td>6</td> 
    1922  </tr> 
     23</table> 
    2024}}} 
     254. Click Save and Continue Editing or Visual tab 
     265. Click Code tab 
    2127 
    22 Apparantly, because the `<tr>` tags have properties (in this case `class`, but originally I was using `valign` properties, even though they might not be official `<tr>` properties), only the first row is kept. It doesn't matter how many rows there are. 
    23  
    24 HTML code after saving, or after viewing the HTML source through the HTML source editor: 
     28ACTUAL RESULT 
    2529{{{ 
    2630<table> 
     
    3135</table> 
    3236}}} 
     37 
     38ADDITIONAL DETAILS [[BR]] 
     39Apparently, because the `<tr>` tags have properties (in this case `class`, but originally I was using `valign` properties, even though they might not be official `<tr>` properties), only the first row is kept. It doesn't matter how many rows there are.