Adds new methods prosemirrorToYXmlFragment, prosemirrorJSONToYXmlFragment, yXmlFragmentToProsemirror, and yXmlFragmentToProsemirrorJSON to support direct PM <=> YXmlFragment conversion.
Note there's a small hack in prosemirrorToYXmlFragment to allow independent creation of Y.XmlFragment before the Y.Doc exists (supporting bottom-up tree construction)
Adds new methods
prosemirrorToYXmlFragment
,prosemirrorJSONToYXmlFragment
,yXmlFragmentToProsemirror
, andyXmlFragmentToProsemirrorJSON
to support direct PM <=> YXmlFragment conversion.Note there's a small hack in
prosemirrorToYXmlFragment
to allow independent creation of Y.XmlFragment before the Y.Doc exists (supporting bottom-up tree construction)Fixes #50