TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.
https://www.blocknotejs.org/
Mozilla Public License 2.0
5.91k stars 386 forks source link

feature: Added Configuration for Link Extension #776

Closed EvanParden closed 1 month ago

EvanParden commented 1 month ago

This pull request enhances the getBlockNoteExtensions function to provide more flexibility in configuring the Link extension based on the linkOptions provided in the editor options.

vercel[bot] commented 1 month ago

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jun 3, 2024 11:41am
blocknote-website ✅ Ready (Inspect) Visit Preview Jun 3, 2024 11:41am
vercel[bot] commented 1 month ago

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

A member of the Team first needs to authorize it.

YousefED commented 1 month ago

Thanks @EvanParden. I might be more in favor of an approach where we can easily, in a generic way, replace the built in extensions with your own / customized ones. In this case, the ability to remove the default Link extension from being added and add your own one with a custom configuration.

For now this works though and we can get it merged, but if you want to continue on this work I'd encourage the above approach. wdyt?