-
-
Notifications
You must be signed in to change notification settings - Fork 660
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In the latest version (0.44.2) of BlockNote you cannot use disableExtensions: ['link'], in useCreateBlockNote in order to disable the built in link functionality. In version 0.41.1 this worked, which allowed me to create my own link implementation with features that are missing from the base implementation.
How would I go about disabling the link in the latest version?
To Reproduce
- Create some content that has links and add to editor
- Add 'link' to
disableExtensions. Observe that it has no effect. - Downgrade version to 0.41.1, now the links should be parsed as plain text.
Example
Go to Stackblitz example. Observe that link is added to disabledExtensions, yet the links are still displayed as links with link toolbars etc. Downgrade the version to 0.41.1 and observe that the links are no longer parsed as links, since disableExtensions now works.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working