[wp-trac] [WordPress Trac] #2992: HTML editor eats rows with
properties from tables
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 1 07:20:57 GMT 2006
#2992: HTML editor eats rows with properties from tables
----------------------------+-----------------------------------------------
Reporter: FireMotion | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.1
Component: Administration | Version: 2.0
Severity: major | Keywords:
----------------------------+-----------------------------------------------
'''Summary'''[[BR]]
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).
'''Example'''[[BR]]
Original code:
{{{
<table>
<tr class="toprow">
<td>1</td>
<td>2</td>
</tr>
<tr class="row2">
<td>3</td>
<td>4</td>
</tr>
<tr class="row3">
<td>5</td>
<td>6</td>
</tr>
}}}
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.
HTML code after saving, or after viewing the HTML source through the HTML
source editor:
{{{
<table>
<tr class="toprow">
<td>1</td>
<td>2</td>
</tr>
</table>
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2992>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list