y-crdt / ypy

Python bindings to y-crdt

Home Page:https://ypy.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose diff

neilfulwiler opened this issue · comments

I'm trying to reconstruct a document composed in slate-yjs with this logic (uses embedded xmltexts instead of xmlelements). I don't seem to be able to access these underlying elements via the current python interface, and I think I need a similar way of accessing the delta representation of the YXmlText, finding the embeds, and re-constructing the nested structure that way.

After trying to implement this, I think the issue is that yrs doesn't actually expose this at all through XmlText, going to ask there instead