Opened 17 years ago

Closed 14 years ago

#1787 closed Bug (worksforme)

Tables getting inserted when changing font size

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 (5)

comment:1 Changed 17 years ago by Wojciech Olchawa

Keywords: Confirmed IE IE7 added

comment:2 Changed 17 years ago by Wojciech Olchawa

Confirmed with IE and IE7. OK with FF2

comment:3 Changed 17 years ago by Wojciech Olchawa

Keywords: IE7 removed

comment:4 Changed 17 years ago by Martin Kou

Description: modified (diff)

Tidied up the description.

comment:5 Changed 14 years ago by Wiktor Walc

Component: GeneralCore : Tables
Resolution: worksforme
Status: confirmedclosed

Confirmed in FCKeditor, works fine in CKEditor so closing this one as FCKeditor is no longer maintained.

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