Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#345 closed Bug (invalid)

FckEditor inserts extra &nbsp; or <p>&nbsp;</p>

Reported by: evangeline Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

In first senario, this html source: <p><span>test1</span></p> <p></p> <p><span>test2</span></p>

becomes this when toggling the Source button: <p><span>test1</span></p> <p>&nbsp;</p> <p><span>test2</span></p>

Another senario, this html source: <p>test1</p> <p><hr /> test2</p>

becomes this when toggling the Source button: <p>test1</p> <p>&nbsp;</p> <hr /> test2 <p>&nbsp;</p>

I read that someone reported simiar issue in early March (#202, #201) and this has been fixed on version 2.41. I am using 2.41 but still have this issue.

Any help would be greatly appreciated.

Change History (5)

comment:1 Changed 12 years ago by David Au

I ran into this issue too, but I think it's actually a html-tidying feature instead of a bug.

Setting the FillEmptyBlocks option in the config file to 'false' will disable this feature.

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

decinz is right. This is a feature. Just use FillEmptyBlocks to configure it, but I still recommend to leave it active.

comment:3 Changed 12 years ago by Kenneth

using version 2.4.2 and configured FillEmptyBlocks but still happens

comment:4 Changed 12 years ago by Kenneth

using version 2.4.2 and configured FillEmptyBlocks to false but still happens

comment:5 Changed 12 years ago by Frederico Caldeira Knabben

Sorry... the second case was related to [202], which has been fixed (again) right now.

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