Opened 12 years ago

Closed 12 years ago

#596 closed Bug (fixed)

Problem with Clear function

Reported by: anonymous Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: General Version:
Keywords: SF Cc:

Description

Hi, When I select all the text in the FCKeditor and delete/clear it... these tags appear:

<P>&nbsp;</P>

but i'd like the field to be empty...

any ideas?


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=938599&group_id=75348&atid=543656

Change History (2)

comment:1 Changed 12 years ago by Martin Kou

Reporter: changed from Martin Kou to anonymous

comment:2 Changed 12 years ago by Martin Kou

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

The issue was fixed in #247.

Note that the empty paragraph tag (<div> or <p>) is still added automatically in WYSIWYG mode, but that is for better compliance with the EnterMode setting. What is fixed now is:

  1. The empty paragraph added, if left empty, would not appear in Source mode or the submitted HTML output.
  2. The empty paragraph added would now conform to the EnterMode setting. i.e. if you're in div mode, then the empty paragraph added would be a <div>, if you're in br mode, then no empty paragraph would be added.
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy