This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-1f270ef2-dfa5-453a-9199-79cdfc8d8e92 CRISTAL-536 Open

Unable to edit links and images with blocknote on production distributions

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cb3beb09-c873-4dc8-b091-da71c3a707a5 Manuel Leduc created this issue on 07/May/25 09:50
 
Summary: Unable to edit links and images with blocknote on production distributions
Issue Type: cid:jira-generated-image-avatar-1f270ef2-dfa5-453a-9199-79cdfc8d8e92 Bug
Affects Versions: 0.17
Assignee: Unassigned
Components: Editor - Blocknote
Created: 07/May/25 09:50
Priority: cid:jira-generated-image-static-blocker-ec9898fd-c0ab-4754-acc5-cab74216566e Blocker
Reporter: Manuel Leduc
Description:

Reproduction steps

  1. start a Cristal instance in "production" mode (i.e., pnpm run start)
  2. edit a document
  3. try to insert a link or an image

Expected

The user can edit a link or an image

Actual

The user is unable to insert link or images, the following errors are displayed in the logs

 09:50:08.863 RangeError: Applying a mismatched transaction
    applyInner index.js:833
    applyTransaction index.js:797
    apply index.js:773
    dispatchTransaction index.js:4698
    dispatch index.js:5719
    dispatch blocknote.js:13834
    WC blocknote.js:13954
    createLink blocknote.js:14436
    i ParagraphToolbar.vue:38
    0 ParagraphToolbar.vue:38
    $o runtime-core.esm-bundler.js:199
    Qn runtime-core.esm-bundler.js:206
    mE runtime-core.esm-bundler.js:6386
    f LinkEditor.vue:86
    dA runtime-dom.esm-bundler.js:758
    $o runtime-core.esm-bundler.js:199
    Qn runtime-core.esm-bundler.js:206
    Qn runtime-core.esm-bundler.js:217
    n runtime-dom.esm-bundler.js:730
suppress-nextjs-warning.mjs:6:6