This issue has been created
There are 3 updates.
 
 
Cristal / cid:jira-generated-image-avatar-3a766320-ac98-4265-b9e1-a6e53e0719e0 CRISTAL-843 Open

Editing a link in the BlockNote editor fails on a missing ResourceReferenceParser component

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f8893e50-d308-4855-8121-fe21c4fee0f6 Manuel Leduc created this issue on 29/Jul/26 14:43
 
Summary: Editing a link in the BlockNote editor fails on a missing ResourceReferenceParser component
Issue Type: cid:jira-generated-image-avatar-3a766320-ac98-4265-b9e1-a6e53e0719e0 Bug
Affects Versions: 1.6.0
Assignee: Unassigned
Components: Editor - Blocknote
Created: 29/Jul/26 14:43
Priority: cid:jira-generated-image-static-major-14159bba-4720-4726-b2f0-cf883c06fc10 Major
Reporter: Manuel Leduc
Description:

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.

 
 

3 updates

 
cid:jira-generated-image-avatar-f8893e50-d308-4855-8121-fe21c4fee0f6 Changes by Manuel Leduc on 29/Jul/26 14:45
 
Fix Version: 1.6.1
Description: h2. Steps to reproduce Reproduction steps

* Open a page in the BlockNote editor
* Select some text and click "Create link" in the formatting toolbar (same with an existing link)

h2. Expected
result

The link edition field opens, so that a query or a URL can be typed.

h2. Actual result

No field opens, and the browser console reports an uncaught error:

{code :java }
No bindings found for service: "ResourceReferenceParser".

Trying to resolve bindings for "ResourceReferenceParser (Root service)".

Binding constraints:
- service identifier: ResourceReferenceParser
- name: -
{code}


h2. 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.
Assignee: Manuel Leduc