Opened 9 years ago

Last modified 9 years ago

#14331 confirmed Bug

BR Enter Mode: New list item not created when we press ENTER at end of list item

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IBM Cc: chrisgui, Irina

Description (last modified by Jakub Ś)

Steps to reproduce

Set config.enterMode = CKEDITOR.ENTER_BR

  1. In editor, enable Numbered/Bulleted list by clicking on corresponding icon in toolbar.
  1. Type some text in first list item & press ENTER.

Expected result

New list item created

Actual result

Nwe list item not created, if you look at source, it will create a <br /> tag rather than enclosing the content with <li> </li> tags.

Additional notes

Required configuration:

var editor = CKEDITOR.replace( 'editor1', {
	enterMode : CKEDITOR.ENTER_BR,
	forceEnterMode:true 
});

Change History (6)

comment:1 Changed 9 years ago by Jakub Ś

Keywords: IBM added; ibm removed
Status: newpending

I can't confirm that. I have tried latest CKEditor 4.5.6 and list item is created as expected.

I have also tried latest nightly: http://nightly.ckeditor.com/16-01-21-07-06/full/samples/old/enterkey/enterkey.html. Problem doesn't occur there as well.

Have I missed something?

comment:2 in reply to:  1 Changed 9 years ago by Satya Minnekanti

Replying to j.swiderski:

I can't confirm that. I have tried latest CKEditor 4.5.6 and list item is created as expected.

I have also tried latest nightly: http://nightly.ckeditor.com/16-01-21-07-06/full/samples/old/enterkey/enterkey.html. Problem doesn't occur there as well.

Have I missed something?

@j.swiderski I can't reproduce on the link that you sent, but we could still reproduce on 4.5.6. Can you please try on 4.5.6 & let me know

comment:3 Changed 9 years ago by Jakub Ś

I have tried CKEditor 4.5.6 full package but can't see this problem.

I have also tried demo standard sample http://ckeditor.com/demo#enter and again everything works as expected.

Perhaps there is some custom plugin, you use which is causing it?

Last edited 9 years ago by Jakub Ś (previous) (diff)

comment:4 in reply to:  3 Changed 9 years ago by Satya Minnekanti

Replying to j.swiderski:

I have tried CKEditor 4.5.6 full package but can't see this problem.

I have also tried demo standard sample http://ckeditor.com/demo#enter and again everything works as expected.

Perhaps there is some custom plugin, you use which is causing it?

@j.swiderski Thanks for your reply. This isssue is happening when you have forceEnterMode:true

comment:5 Changed 9 years ago by Jakub Ś

Description: modified (diff)

I'm able to reproduce this issue with addition of forceEnterMode.

comment:6 Changed 9 years ago by Jakub Ś

Status: pendingconfirmed
Version: 4.5.6
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