Opened 17 years ago

Closed 17 years ago

#262 closed Bug (duplicate)

EnterMode br doesn't work right with lists

Reported by: mschering Owned by:
Priority: Normal Milestone:
Component: UI : Enter Key Version: FCKeditor 2.4
Keywords: Cc:

Description

When you set EnterMOde to br then lists don't work. When you hit enter it inserts a list item before instead of after the last item. It's also impossible to finish the listview.

I tested this with FCKeditor 2.4 in Firefox 2.0.0.2

Attachments (4)

IESource.txt (234 bytes) - added by pharcyde 17 years ago.
Internet Explorer Generated Source
screenshot.gif (11.9 KB) - added by pharcyde 17 years ago.
IE and Firefox screenshots
FCKEditor.css (252 bytes) - added by pharcyde 17 years ago.
Custom CSS File Used
CustomConfig.js (2.7 KB) - added by pharcyde 17 years ago.
Custom Config Settings Used in the Example

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by pharcyde

Attachment: IESource.txt added

Internet Explorer Generated Source

Changed 17 years ago by pharcyde

Attachment: screenshot.gif added

IE and Firefox screenshots

comment:1 Changed 17 years ago by pharcyde

In addition when using BR as the EnterMode in IE, hitting the list button will, instead of creating a new list, indent all the text above it until it hits the end of an opening tag (i.e. a </p>, </div>, etc). It jumps ahead of any BR tags when attempting to determine where to place the <ul>. I've attached screen shots and the source being generated.

Changed 17 years ago by pharcyde

Attachment: FCKEditor.css added

Custom CSS File Used

Changed 17 years ago by pharcyde

Attachment: CustomConfig.js added

Custom Config Settings Used in the Example

comment:2 in reply to:  description Changed 17 years ago by Arun

hi,

just check it

in fckconfig.js,add following code

FCKConfig.UseBROnCarriageReturn = true ;

Cheers,

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: entermode removed
Priority: HighNormal
Resolution: duplicate
Status: newclosed

DUP of #67

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