Opened 14 years ago

Closed 12 years ago

#4972 closed Bug (fixed)

Pressing Shift+Enter at the end of <li> generates invalid HTML when shiftEnterMode != ENTER_BR

Reported by: pomu0325 Owned by:
Priority: Normal Milestone:
Component: UI : Enter Key Version: 3.1
Keywords: Cc: pomu@…

Description

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.
  • Press Shift+Enter from keyboard.
  • <p> is inserted under <ul>
    • See breadclumb on attached screenshot
  • Switch to source-mode, <p> is moved before the <ul>

Attachments (1)

4972.jpg (111.4 KB) - added by pomu0325 14 years ago.
screenshot

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by pomu0325

Attachment: 4972.jpg added

screenshot

comment:1 Changed 12 years ago by Jakub Ś

Resolution: fixed
Status: newclosed

No longer reproducible in latest CKEditor 3.6.3.

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