Ticket #345 (closed Bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by decinz

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.

Changed 3 years ago by fredck

  • status changed from new to closed
  • resolution set to invalid

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

Changed 3 years ago by silver09

using version 2.4.2 and configured FillEmptyBlocks but still happens

Changed 3 years ago by silver09

using version 2.4.2 and configured FillEmptyBlocks to false but still happens

Changed 3 years ago by fredck

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

Note: See TracTickets for help on using tickets.