Skip to content

Conversation

nperez0111
Copy link
Contributor

@nperez0111 nperez0111 commented Aug 22, 2025

This was caused by a change to Tiptap in a more recent version: ueberdosis/tiptap#6600 which specifically looks for an attribute which Tiptap expects on an element to exist to be considered as part of the contentDOM.

BlockNote does not use the NodeViewContent React component (instead using the BlockNote contentRef). So, to address this issue, we now explicitly set the data-attribute which Tiptap's React integration expects on the element.

This element is handed off to ProseMirror anyway so React should not blow it away on render.

While we are at it, updated all @tiptap/* packages to their latest versions. These are likely the last versions before we switch to v3. We may want to consider always pulling the latest tiptap versions to catch these sorts of issues sooner

Fixes #1844
Fixes #1897
Resolves Linear Ticket: https://linear.app/blocknote/issue/BLO-301/react-blocks-broken-tiptap-2250

Copy link

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
blocknote Ready Ready Preview Aug 25, 2025 9:28am
blocknote-website Ready Ready Preview Aug 25, 2025 9:28am

Copy link

pkg-pr-new bot commented Aug 22, 2025

Open in StackBlitz

@blocknote/ariakit

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/ariakit@1954

@blocknote/code-block

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/code-block@1954

@blocknote/core

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/core@1954

@blocknote/mantine

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/mantine@1954

@blocknote/react

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/react@1954

@blocknote/server-util

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/server-util@1954

@blocknote/shadcn

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/shadcn@1954

@blocknote/xl-ai

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-ai@1954

@blocknote/xl-docx-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-docx-exporter@1954

@blocknote/xl-email-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-email-exporter@1954

@blocknote/xl-multi-column

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-multi-column@1954

@blocknote/xl-odt-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-odt-exporter@1954

@blocknote/xl-pdf-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-pdf-exporter@1954

commit: 581b88d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

copy and paste issue on custom block note "Cursor" placed incorrectly when adding custom block
1 participant