Opened 16 years ago

Closed 16 years ago

#926 closed Bug (fixed)

View source toggle adds empty para tag before & after the page-break tags

Reported by: Jaspal Singh Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.4.3
Keywords: Confirmed Cc: jaspal_77@…


I'm testing the fckeditor demo at

a) add some text - Lorem ipsum dolor sit amet, anything

b) add a page-break

c) add some more text - some text abc xyz mno pqr cde.

d) click "Source" button, click "Source" again to return back to editing mode.

e) repeat step (d) 2-3 times, you will find empty paragraph tags adding before and after the page-break tags.


Change History (7)

comment:1 Changed 16 years ago by Jaspal Singh

forget to mention, I'm testing on Firefox

comment:2 Changed 16 years ago by Jaspal Singh

same thing happens with IE6

comment:3 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Keywords: toggle source blank para tag removed
Milestone: FCKeditor 2.5

comment:4 Changed 16 years ago by Wiktor Walc

Keywords: Confirmed added
Version: FCKeditor 2.4.3SVN

I confirm that this bug exists in the latest revision as well (FF, XP/SP2).

comment:5 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.6
Version: SVNFCKeditor 2.4.3

comment:6 Changed 16 years ago by Martin Kou

This seems to have been fixed in 2.5.1? I can vaguely remember having fixed another ticket with a very similar issue, and I can no longer reproduce the issue on IE or Firefox.

comment:7 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.6
Resolution: fixed
Status: newclosed

I've just tested it with Firefox. I have the following code in source:

<p>Line 1</p>
<div style="page-break-after: always;"><span style="display: none;">&nbsp;</span></div>
<p>Line 2</p>

It remains stable when switching back and forth to WYSIWYG mode.

Closing, based on Martin's comments also.

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