Ticket #1787 (closed Bug: worksforme)

Opened 7 years ago

Last modified 4 years ago

Tables getting inserted when changing font size

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

Description (last modified by martinkou) (diff)

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

comment:1 Changed 7 years ago by w.olchawa

  • Keywords Confirmed IE IE7 added

comment:2 Changed 7 years ago by w.olchawa

Confirmed with IE and IE7. OK with FF2

comment:3 Changed 7 years ago by w.olchawa

  • Keywords IE7 removed

comment:4 Changed 7 years ago by martinkou

  • Description modified (diff)

Tidied up the description.

comment:5 Changed 4 years ago by wwalc

  • Status changed from confirmed to closed
  • Component changed from General to Core : Tables
  • Resolution set to worksforme

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy