Opened 11 years ago

Closed 11 years ago

#10421 closed Bug (invalid)

calling editor.destroy( true ) does not undo editing in DIV

Reported by: Henrik Helmø Larsen Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

According to the documentation a call to:

editor.destroy( true );

should undo all editing. I am using CKEditor as an inline editor - and when the user presses the ESC-key I would like to undo the changes made.
This does not work with version 4.1.1 in Chrome 26.0.1410.65 on Win7 64bit

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Are you sure we talk about same documentation - http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-destroy? There is nothing about undoing changes but about updating replaced element (textarea replaced by iframed editor).

Changes can be reverted with undo only and destroying editor is not the way to do it.

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