yjs / y-prosemirror

ProseMirror editor binding for Yjs

Home Page:https://demos.yjs.dev/prosemirror/prosemirror.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I undo some content across lines, the enabled state of the tool gets lost.

shlroland opened this issue · comments

commented

Checklist

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:

  1. can use the official example https://docs.yjs.dev/ecosystem/editor-bindings/prosemirror
  2. write something and ctrl-z
  3. 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.