Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to limit amount of undos/redos #4872

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

mkslanc
Copy link
Contributor

@mkslanc mkslanc commented Jul 28, 2022

Issue #, if available: #4864

Description of changes:
Limit number of undos/redos by setting UndoManager.$undoDepth

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #4872 (01401ba) into master (416ae9e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4872   +/-   ##
=======================================
  Coverage   85.74%   85.74%           
=======================================
  Files         539      539           
  Lines       40602    40625   +23     
  Branches     6419     6420    +1     
=======================================
+ Hits        34814    34835   +21     
- Misses       5788     5790    +2     
Flag Coverage Δ
unittests 85.74% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/undomanager.js 79.12% <100.00%> (+0.26%) ⬆️
src/undomanager_test.js 99.68% <100.00%> (+0.01%) ⬆️
src/editor.js 82.46% <0.00%> (-0.15%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mkslanc mkslanc marked this pull request as ready for review July 28, 2022 12:37
@andrewnester andrewnester merged commit 897ee0a into ajaxorg:master Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants