Opened 16 years ago

Closed 16 years ago

#3606 closed Bug (fixed)

Replace feature leaves selection after cancel

Reported by: Damian Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: IBM Confirmed Review+ Cc:

Description

The replace feature causes the selection to be saved in the document.
To reproduce:

  1. Open Ajax sample and add some text.
  2. Use Replace feature to find a known word and replace with another.
  3. Cancel from the dialog, ensuring the selection is still on the last replaced word.
  4. Remove the editor.

Results in the selection being saved with the document. E.g.:

<span style="color: rgb(255,255,255); background-color: rgb(0,0,68)">Test</span>

Attachments (1)

3606.patch (962 bytes) - added by Garry Yao 16 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 years ago by Garry Yao

Keywords: Confirmed added
Owner: set to Garry Yao
Status: newassigned

The expected behavior is selecting the replaced text, but without the highlight.

Changed 16 years ago by Garry Yao

Attachment: 3606.patch added

comment:2 Changed 16 years ago by Garry Yao

Keywords: Review? added

Regression of [3530].

comment:3 Changed 16 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:4 Changed 16 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [3564].

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