Canonical rich AST interchange with portable Yjs XML snapshots.
Community Yjs/Yex/Yrs owns transactions and binary encodings. The host installs
children in default and optional authored metadata in the relaymark map.
This module never changes a live document or authorizes domain actions.
Summary
Functions
Canonical element names with authored block identity (not inline entity IDs).
Finite identity-only historical XML import; caller applies the returned attributes to its existing CRDT owner.
Finite admitted AST kinds for content-free inventory, from the canonical projection grammar.
Normalize semantic text segmentation through the canonical XML/mark owner, preserving identities and metadata.
Prepares canonical XML and its strictly validated semantic inverse in one invocation.
Validates typing attributes through the existing canonical rich text/mark owner.
Functions
Canonical element names with authored block identity (not inline entity IDs).
Finite identity-only historical XML import; caller applies the returned attributes to its existing CRDT owner.
Finite admitted AST kinds for content-free inventory, from the canonical projection grammar.
Normalize semantic text segmentation through the canonical XML/mark owner, preserving identities and metadata.
Prepares canonical XML and its strictly validated semantic inverse in one invocation.
Validates typing attributes through the existing canonical rich text/mark owner.