Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

EZP-26145: Unable to undo in the RichText editor #664

Merged
merged 1 commit into from
Aug 29, 2016
Merged

Conversation

dpobel
Copy link
Contributor

@dpobel dpobel commented Aug 25, 2016

JIRA: https://jira.ez.no/browse/EZP-26145

Description

In Online Editor, some operations can not be undone, especially the removal of some text in the middle of a paragraph. This is happening because while doing that, we are also cleaning up some auto-generated ids and this seems to confuse the undo manager. To avoid that, before cleaning up the ids, the undo manager is locked so that the cleanup is not part of the undo stack.

Tests

manual tests + unit tests

@lserwatka
Copy link
Member

@dpobel Would it be possible to backport it to 1.3 series? Project that requires this fix does not run on 1.4 series yet.

@dpobel
Copy link
Contributor Author

dpobel commented Aug 25, 2016

@lserwatka of course, but it would be easier if the affect version in the JIRA issue was right in the first place.

@dpobel dpobel changed the base branch from 1.4 to 1.3 August 25, 2016 10:00
@andrerom
Copy link
Contributor

+1

2 similar comments
@yannickroger
Copy link
Contributor

+1

@StephaneDiot
Copy link
Contributor

+1

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants