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

Change History (1)

Changed 14 years ago by pomu0325

Attachment: 4791.patch added

workaround patch. force default behavior for Shift+Enter inside <li>

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