Opened 14 years ago
Last modified 12 years ago
#4971 confirmed Bug
Unable to insert <br> under <li> when shiftEnterMode != ENTER_BR — at Initial Version
Reported by: | pomu0325 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Enter Key | Version: | 3.0 |
Keywords: | HasPatch | Cc: | pomu@… |
Description
By default, shiftEnterMode is set to ENTER_BR, and Shift+Enter will insert <br> under <li>.
To Reproduce
- Add following settings to config.js.
config.enterMode = CKEDITOR.ENTER_BR; config.shiftEnterMode = CKEDITOR.ENTER_P;
- Open sample page.
- Click "Numbered List" or "Bulleted List" button from toolbar.
- Type some text.
- Move caret at the middle of text.
- Press Shift+Enter from keyboard.
- expect: <br> is inserted
- actual: next <li> is created
workaround patch. force default behavior for Shift+Enter inside <li>