Opened 9 years ago

Last modified 9 years ago

#8010 confirmed Bug

setData from dialog makes empty undo step

Reported by: datalink Owned by:
Priority: Normal Milestone:
Component: Core : Undo & Redo Version: 3.3.2
Keywords: Firefox Cc:

Description

On FF4 dialogs who sets contents with setData methode makes empty undo step.
I've written a little plugin for testing. Set extraPlugins:'diatest' and 'DialogTest' as toolbar button.

Attachments (1)

diatest.zip (1.1 KB) - added by datalink 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by datalink

Attachment: diatest.zip added

comment:1 Changed 9 years ago by Jakub Ś

Keywords: Firefox added; FF4 undo setData removed
Status: newconfirmed
Version: 3.63.3.2
  1. Type some words, press some enters etc.
  2. Open plug-in dialog, type something in it and press ok.
  3. Press undo button in CKEditor.

Result:
The first undo in CKEditor for FF4 shows empty contents area. The second undo brings back the text that was replaced by setData.

When you press undo in FF3 both undo buttons become enabled but clicking on them has no effect. The undo history is gone.

Reproducible in Firefox browsers from CKEditor 3.3.2

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