You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Slate-Auto-Replace removes each capture group in a separate operation, which means if a user tries to undo it, they actually have to undo each operation one at a time. Is there a reasonably easy way to undo all the changes with a single undo?
Thanks for a millionth time Ian.
The text was updated successfully, but these errors were encountered:
@slapbox there should be a change.setOperationsFlag('merge', true) operation you can use to get those changes applied to the same undo operations list on the top of the undo stack
It seems that Slate-Auto-Replace removes each capture group in a separate operation, which means if a user tries to undo it, they actually have to undo each operation one at a time. Is there a reasonably easy way to undo all the changes with a single undo?
Thanks for a millionth time Ian.
The text was updated successfully, but these errors were encountered: