Link types contributed to the BlockNote link modal

Last modified by Marius Dumitru Florea on 2026/11/24 10:03

The link types offered by the link modal of the BlockNote npm packages are link target types bound in the service container, provided by the new @xwiki/platform-link-type-api, @xwiki/platform-link-type-default and @xwiki/platform-link-type-ui packages: an integration of the headless editor has to bind them, and can add its own. @xwiki/platform-link-modal-ui no longer exports parseLinkTarget, linkTargetToResourceReference and resourceReferenceToLinkTarget: use the LinkTargetTypeManager of @xwiki/platform-link-type-api instead, where LinkData and LinkTarget moved (without newTab). The XWiki model reference serializer no longer prefixes a reference with its type (space:, doc:, attach:). See Link Target Types.

Get Connected