Steps to reproduce
- Open a page in the BlockNote editor
- Select some text and click "Create link" in the formatting toolbar (same with an existing link)
Expected result The link edition field opens, so that a query or a URL can be typed. Actual result No field opens, and the browser console reports an uncaught error:
No bindings found for service: "ResourceReferenceParser".
Trying to resolve bindings for "ResourceReferenceParser (Root service)".
Binding constraints:
- service identifier: ResourceReferenceParser
- name: -
Cause XWiki Platform 18.6.0 introduced the ResourceReferenceParser component, and the BlockNote link edition components of @xwiki/platform-editors-blocknote-react resolve it from the container c-edit-blocknote.vue hands them, which is the application container. Nothing ever binds it: DefaultResourceReferenceParser is only registered through its static bind() helper, and no Cristal component calls it. Every application embedding the BlockNote editor is affected: web, Electron and the Nextcloud integration. |