When I undo some content across lines, the enabled state of the tool gets lost.
shlroland opened this issue · comments
Checklist
- Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
- 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/
Describe the bug
When I undo some content across lines, the enabled state of the tool gets lost.
To Reproduce
Steps to reproduce the behavior:
- can use the official example https://docs.yjs.dev/ecosystem/editor-bindings/prosemirror
- write something and ctrl-z
- some tool buttons are disabled
Expected behavior
tool buttons are still enabled
Screenshots
Kapture.2023-07-20.at.20.13.22.mp4
Environment Information
- Browser / Node.js [e.g. Chrome, Firefox, Node.js]
- Yjs version and the versions of the y-* modules you are using [e.g. yjs v13.0.1, y-webrtc v1.2.1]. Use
npm ls yjs
to find out the exact version you are using.
Additional context
Add any other context about the problem here.