Opened 15 years ago
Last modified 13 years ago
#4971 confirmed Bug
Unable to insert <br> under <li> when shiftEnterMode != ENTER_BR
Reported by: | pomu0325 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Enter Key | Version: | 3.0 |
Keywords: | HasPatch | Cc: | pomu@… |
Description (last modified by )
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 Enter from keyboard.
- expect: <br> is inserted
- actual: next <li> is created
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | 4791.patch added |
---|
comment:1 Changed 15 years ago by
Keywords: | HasPatch added |
---|---|
Milestone: | → CKEditor 3.x |
That's one of the reasons why changes enterMode and shiftEnterMode are not recommended.
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |
Version: | 3.1 → 3.0 |
Reproducible in all browsers from CKEditor 3.0.
workaround patch. force default behavior for Shift+Enter inside <li>