Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-536

Unable to edit links and images with blocknote on production distributions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • 0.19
    • 0.17
    • Editor - Blocknote
    • None
    • Unknown

    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
      

      Attachments

        Activity

          People

            ClementEraud Clément Eraud
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: