Opened 16 years ago

Last modified 13 years ago

#1787 closed Bug

Tables getting inserted when changing font size — at Version 4

Reported by: Peter Tracey Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: FCKeditor 2.5.1
Keywords: IE Cc:

Description (last modified by Martin Kou)

When the font size drop down is used to change the font size I'm getting tables inserted into the document following a table that was already in the document.

Steps to reproduce:

  1. Use the HTML provided below
  2. Select all text (ctrl-a)
  3. Change font size to larger
  4. Change font size to smaller

The following HTML is added after the existing table:

<table cellspacing="0" width="100%" border="1">
<tbody>
<tr>
<td><font face="arial,sans-serif">0</font></td>
</tr>
</tbody>
</table>

Sometimes that 0 is a 1 or 11 and continuing steps 2 & 3 leads to tables with no content.

I was able to reproduce this on the demo page with the following source:

<FONT FACE="arial,sans-serif">
<BR><BR>
<CENTER><B>ASDF</B></CENTER>
<TABLE BORDER="1" CELLSPACING="0" WIDTH="100%">
<TR>
<TD><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD>
<TD><FONT FACE="arial,sans-serif"><B>FDSA</B></FONT></TD>
<TD NOWRAP><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD>
<TD NOWRAP><FONT FACE="arial,sans-serif"><B>FDSA</B></FONT></TD>
<TD NOWRAP><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD>
</TR>
<tr><td nowrap><FONT FACE='arial,sans-serif'>ASDF</FONT></td><td><FONT FACE='arial,sans-serif'>FDSA </FONT></td><td><FONT FACE='arial,sans-serif'>39</FONT></td><td><FONT FACE='arial,sans-serif'>1</FONT></td><td><FONT FACE='arial,sans-serif'>0</FONT></td></tr><tr><td colspan='2' align='right'><FONT FACE='arial,sans-serif'><b>Total </b></FONT></td><td><FONT FACE='arial,sans-serif'>39</FONT></td><td><FONT FACE='arial,sans-serif'>1</FONT></td><td><FONT FACE='arial,sans-serif'>0</FONT></td>
</TABLE>
<BR><BR>
</FONT>

I'm using windows XP with IE version 6.0.29

Change History (4)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed IE IE7 added

comment:2 Changed 16 years ago by Wojciech Olchawa

Confirmed with IE and IE7. OK with FF2

comment:3 Changed 16 years ago by Wojciech Olchawa

Keywords: IE7 removed

comment:4 Changed 16 years ago by Martin Kou

Description: modified (diff)

Tidied up the description.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy