Opened 17 years ago

Closed 17 years ago

#2074 closed Bug (invalid)

Creation of extraneous <p>&nbsp;</p>

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

Description

If there are no <p></p> tags present in a text box, FCKeditor will always add it in the end, no way around it. Similar as in this ticket: http://dev.fckeditor.net/ticket/382 Switching between code view and normal view will do the same.

It is present in Firefox but also IE7. It happens when integrating FCKeditor into Drupal, so I don't know if it is anything to do with the integration.

e.g. when I've got only an <ul><li></li></ul> inside a text box. I tried wrapping the entire ul in a <p>, but this also does not work, it ends up having a <p>&nbsp;</p> in front and behind the <ul>.

Changing the enter mode to <br> helped, but this is no solution, since the client should be able to press enter and get <p> tags.

It appears to me that the editor always needs to create <p></p> in every text box. If it does not succeed, it puts it in the end. And it appears to be unable to wrap it around inline elements.

Change History (2)

comment:1 Changed 17 years ago by eigentor

I use Version 2.5, An update to 2.6 rc brought no change

comment:2 Changed 17 years ago by Wojciech Olchawa

Resolution: invalid
Status: newclosed

This is bug isn't a bug in FCKeditor itself. It only occurs in Drupal. That is why I'm marking this ticket as invalid.

I have created a ticket at the Drupal page http://drupal.org/node/241271 with the bug that you have encountered. Please follow that ticket for further information about the bug.

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