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
I'm trying to use y-prosemirror with the y-sweet debugger. I get the message inside the console to open the debugger link, but then when viewing the debugger the state consistently is empty (no entries).
Not that y-prosemirror's code uses a Y.XmlFragment - not sure if that would be relevant here:
const ydoc = useYDoc();
// Get the Yjs document from the provider context
const type = ydoc.get("prosemirror", Y.XmlFragment);
// Initialize the ProseMirror document
const { doc, mapping } = initProseMirrorDoc(type, schema);
I have confirmed that swapping out the ydoc.get("prosemirror, Y.XmlFragment) code for the y-sweet todos example and then opening the debugger correctly shows the state in the debugger.
The text was updated successfully, but these errors were encountered:
sherwinyu
changed the title
Y Sweet debugger with y-prosemirror
Y Sweet debugger with y-prosemirror has empty state
Mar 4, 2025
I'm trying to use y-prosemirror with the y-sweet debugger. I get the message inside the console to open the debugger link, but then when viewing the debugger the state consistently is empty (no entries).
Not that y-prosemirror's code uses a Y.XmlFragment - not sure if that would be relevant here:
I have confirmed that swapping out the
ydoc.get("prosemirror, Y.XmlFragment)
code for the y-sweet todos example and then opening the debugger correctly shows the state in the debugger.The text was updated successfully, but these errors were encountered: