Opened 5 years ago

Closed 5 years ago

#11135 closed Bug (invalid)

[enterMode]<p> instead of <div> with Shift+Enter.

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

  1. Open browser (tested with Chrome and Firefox).
  2. Go to "ENTER Key Configuration" sample (samples/enterkey.html).
  3. Leave "When Enter is pressed:" <p> and set "When Shift+Enter is pressed:" <div>
  4. Press "Shift+Enter" in editable.

New p tag is created instead of div.

Change History (1)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.0

You would also need to enable forceEnterMode flag. Otherwise enter mode will continue the block you're in and that's perfectly correct. So setting shiftEnterMode to div does not really have sense.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy