#1787: Tables getting inserted when changing font size
---------------------------+------------------------------------------------
  Reporter:  peterjtracey  |       Owner:                 
      Type:  Bug           |      Status:  new            
  Priority:  Normal        |   Milestone:                 
 Component:  General       |     Version:  FCKeditor 2.5.1
Resolution:                |    Keywords:  Confirmed IE   
---------------------------+------------------------------------------------
Old 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

New 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

Comment (by martinkou):

 Tidied up the description.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1787#comment:4>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to