Opened 13 years ago

Last modified 13 years ago

#1796 closed Bug

Empty paragraphs getting inserted when justify button is clicked — at Initial Version

Reported by: Peter Tracey Owned by:
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: FCKeditor 2.5.1
Keywords: Confirmed Cc:

Description

With the following HTML clicking on any of the text justify buttons leads to the editor freezing, then when Abort Script (A script on this page is causing Internet Explorer to run slowly...) button is pressed viewing source reveals hundreds of empty paragraphs (<p style="text-align: right">&nbsp;</p>) inserted before the table.

Steps to reproduce:

  1. Use HTML provided below
  2. Select all (ctrl-a)
  3. Click right justify button

Editor will freeze and after a while abort script dialog will pop up.

  1. Click yes
  2. Click on the Source button, notice hundreds of p tags

Source that has this problem: <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>

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy