Ticket #5495 (closed Bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Link plugin ruins undo system

Reported by: Saare Owned by:
Priority: Normal Milestone: CKEditor 3.4
Component: Core : Undo & Redo Version: 3.0
Keywords: Cc:

Description

Steps to reproduce

  • Open the replace by code sample
  • Select all content and remove it. An undo snapshot is made.
  • Add any element that is not a link with the toolbar [e.g. anchor, image etc.]. Another undo snapshot is made.
  • Press undo once, so there is no content again.
  • Add a new link.

Notice that the 'redo' button is enabled for no reason. [clicking on it, btw, doesn't do anything].

  • Press undo twice.

Notice that the content is back to the default, so actually the two latest snapshots are skipped.
Take into consideration that no snapshot is made when creating link (as i reported earlier in #5385).

Change History

comment:1 Changed 5 years ago by garry.yao

  • Keywords Confirmed added
  • Version changed from SVN (CKEditor) to 3.0
  • Milestone set to CKEditor 3.4

Depends on #5385.

comment:2 Changed 4 years ago by fredck

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

I confirm it's working properly now. Changelog entry added with [5719].

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