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

Links on images not updating

jibin2706 opened this issue · comments

Checklist

Describe the bug
Marks on images are not getting updated from one document to other

To Reproduce
Steps to reproduce the behavior:

  1. Go to the demo example of 'https://docs.yjs.dev/ecosystem/editor-bindings/prosemirror'
  2. Click on Insert Image > Add an image
  3. Click on the image & Click on add or remove link icon and add any link to that image
  4. Inspect the image element, link is added on the first instance
  5. Now inspect the image on other instance, changes are not updated

Expected behavior
The link should have been updated on both the editor instance.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment Information

  • Chrome

Additional context
Found this issue on Remirror which uses this library, so tried to reproduce the same.
remirror/remirror#2122