Opened 14 years ago

Closed 14 years ago

#5495 closed Bug (fixed)

Link plugin ruins undo system

Reported by: Sa'ar Zac Elias 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 (2)

comment:1 Changed 14 years ago by Garry Yao

Keywords: Confirmed added
Milestone: CKEditor 3.4
Version: SVN (CKEditor)3.0

Depends on #5385.

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: confirmedclosed

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

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