Opened 17 years ago

Closed 17 years ago

#142 closed Bug (fixed)

EnterMode = br produces <p> when switching back from source

Reported by: fbunget@… Owned by:
Priority: Normal Milestone: FCKeditor 2.4.1
Component: UI : Enter Key Version: FCKeditor 2.4
Keywords: SF IE Cc:

Description

FCKConfig.EnterMode = 'br'

so when hitting ENTER, a <BR/> is used.

Add some text and use ENTER to go to a new line. then switch to "source code"; the source code should look like this:

<p>line1 aaa<br />
line2 bbb<br />
line3 ccc</p>

now exit from "source code" mode and hit ENTER. a new paragraph is created (<P>); this mode remains active.

this doesn't happen if after exiting from "source code" mode, you move the cursor somewhere inside the existing text.


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

Change History (4)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Component: GeneralUI : Enter Key
Keywords: IE added
Milestone: FCKeditor 2.4

I confirm this behavior in IE only. With Firefox, everything seams to be ok.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Reporter: changed from Frederico Caldeira Knabben to fbunget@…

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4FCKeditor 2.4.1

comment:4 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with [205].

Click here for more info about our SVN system.

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