-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Checklist
[x] Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
[x] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
Is your feature request related to a problem? Please describe.
I am looking for a way to trigger undo/redo programmatically (i.e. from a button click event handler).
It should be doable given only an EditorView
instance, I don't want to pass around the UndoManager
instance as well.
Describe the solution you'd like
I think the easiest fix would be to export y-undomanager.js
's undo
/redo
functions from this library.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request