Ticket #5465 (closed Bug: fixed)

Opened 5 years ago

Last modified 4 years ago

forceEnterMode affects lists

Reported by: damo Owned by: garry.yao
Priority: High Milestone: CKEditor 3.3
Component: UI : Enter Key Version: 3.0
Keywords: Confirmed IBM Review+ Cc: joek, satya

Description

When using config.forceEnterMode=true it affects how lists are created.

  1. Create a single list item
  1. Go to the end of the item and hit Enter

Notice that a new paragraph is added to the list.

<ol>
    <li>test <br/></li>
    <p> <br/></p>
</ol>
}}

Attachments

5465.patch (719 bytes) - added by garry.yao 5 years ago.
5465_2.patch (572 bytes) - added by garry.yao 4 years ago.

Change History

comment:1 Changed 5 years ago by fredck

  • Keywords Confirmed added
  • Component changed from General to UI : Enter Key

Changed 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

  • Status changed from new to assigned
  • Keywords Review? added
  • Version set to 3.0
  • Owner set to garry.yao

Not a regression, affect also shiftEnter=<p>.

comment:3 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:4 Changed 5 years ago by garry.yao

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [5341].

comment:5 Changed 4 years ago by JoeK

  • Status changed from closed to reopened
  • Resolution fixed deleted
  1. Turn on forceEnterMode, i.e. config.forceEnterMode = true;
  2. From the trunk revision, open the Ajax sample.
  3. Click on the numbered list toolbar button.
  4. Enter text for the first list item and press enter.

A new paragraph is inserted instead of the next list item.

comment:6 Changed 4 years ago by JoeK

  • Priority changed from Normal to High

Changed 4 years ago by garry.yao

comment:7 Changed 4 years ago by garry.yao

  • Keywords Review? added; Review+ removed

Regression of [5286].

comment:8 Changed 4 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:9 Changed 4 years ago by fredck

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed with [5525].

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