Skip to content

Conversation

@fridaystreet
Copy link
Contributor

@fridaystreet fridaystreet commented Jun 20, 2024

Without completely needing to refactor the way tiptap extensions and core blocknote extensions are added, this should be fairly simple approach to just allow a list of extension names to be passed in that will then be removed from the inbuiult extensions before being passed to tiptap.

This will allow you to the override these extensions if you wish without completely disbaling blocknote via

const editor = useCreateBlockNote({
    disableBlockNoteExtensions:['link'],
    _tiptapOptions: {
      extensions: [
        Link,
      ]
    }
  })

@vercel
Copy link

vercel bot commented Jun 20, 2024

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

Name Status Preview Updated (UTC)
blocknote ❌ Failed (Inspect) Jun 20, 2024 10:12am

@vercel
Copy link

vercel bot commented Jun 20, 2024

@fridaystreet is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

@fridaystreet
Copy link
Contributor Author

Apologies I closed this as I raised it as a different PR without all the unclean commits. I should have left a comment

This is the newer one that you merged. #858

@matthewlipski
Copy link
Collaborator

No worries, I figured as much haha. Next time don't worry about having messy commits btw, we always squash when merging PRs either way👍

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.

2 participants