Opened 9 years ago

Last modified 9 years ago

#13412 closed Bug

Enter mode for shift+enter incorrect — at Initial Version

Reported by: Szymon Cofalik Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:

Description

Steps to reproduce:

  1. Initialize CKEDITOR with those options:
    CKEDITOR.replace( 'editor1', {
    	extraPlugins: 'enterkey',
    	enterMode: CKEDITOR.ENTER_P,
    	shiftEnterMode: CKEDITOR.ENTER_DIV
    });
    
  2. Write some text in the editor then try to break it with shift+enter.

Result: <p> has been inserted.
Expected result: <div> has been inserted.

The same bug occurs when you set

	enterMode: CKEDITOR.ENTER_DIV,
	shiftEnterMode: CKEDITOR.ENTER_P

Then <div> is inserted instead of <p>. It works fine only if one of options is CKEDITOR.ENTER_BR

You can test this on sample samples/plugins/enterkey/enterkey.html

Change History (0)

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