Opened 17 years ago

Last modified 14 years ago

#1787 closed Bug

Tables getting inserted when changing font size — at Initial Version

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

Description

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

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