Skip to content

fix: backwards-compat for _extensions #1708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 23, 2025
Merged

fix: backwards-compat for _extensions #1708

merged 8 commits into from
May 23, 2025

Conversation

nperez0111
Copy link
Contributor

@nperez0111 nperez0111 commented May 22, 2025

This updates backwards-compatibility for the _extensions API. It also renames the new BlockNoteExtension.name to BlockNoteExtension.key

This whole API needs to be re-thought. So, let's just patch things up for now and get back to it later

Copy link

vercel bot commented May 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview May 22, 2025 4:49pm
blocknote-website ✅ Ready (Inspect) Visit Preview May 22, 2025 4:49pm

Copy link

pkg-pr-new bot commented May 22, 2025

Open in StackBlitz

@blocknote/ariakit

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

@blocknote/code-block

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

@blocknote/core

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

@blocknote/react

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

@blocknote/server-util

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

@blocknote/mantine

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

@blocknote/shadcn

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

@blocknote/xl-ai

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

@blocknote/xl-ai-server

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

@blocknote/xl-docx-exporter

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

@blocknote/xl-multi-column

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

@blocknote/xl-odt-exporter

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

@blocknote/xl-pdf-exporter

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

commit: 78a7a1f

@nperez0111 nperez0111 changed the title fix: backwrds-compat for _extensions fix: backwards-compat for _extensions May 22, 2025
The issue here was that @tiptap/core was being duplicated because another version was found, so the instance of check was failing to see if it should be a blocknote extension or not
@nperez0111 nperez0111 merged commit 10a72cc into main May 23, 2025
8 checks passed
@nperez0111 nperez0111 deleted the extension-api branch May 23, 2025 08:25
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.

1 participant