Opened 14 years ago

Closed 14 years ago

#5465 closed Bug (fixed)

forceEnterMode affects lists

Reported by: Damian Owned by: Garry Yao
Priority: Must have (possibly next milestone) Milestone: CKEditor 3.3
Component: UI : Enter Key Version: 3.0
Keywords: Confirmed IBM Review+ Cc: joek, Satya Minnekanti

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 (2)

5465.patch (719 bytes) - added by Garry Yao 14 years ago.
5465_2.patch (572 bytes) - added by Garry Yao 14 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Component: GeneralUI : Enter Key
Keywords: Confirmed added

Changed 14 years ago by Garry Yao

Attachment: 5465.patch added

comment:2 Changed 14 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned
Version: 3.0

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

comment:3 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:4 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [5341].

comment:5 Changed 14 years ago by Joe Kavanagh

Resolution: fixed
Status: closedreopened
  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 14 years ago by Joe Kavanagh

Priority: NormalHigh

Changed 14 years ago by Garry Yao

Attachment: 5465_2.patch added

comment:7 Changed 14 years ago by Garry Yao

Keywords: Review? added; Review+ removed

Regression of [5286].

comment:8 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:9 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: reopenedclosed

Fixed with [5525].

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