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
6.46k stars 440 forks source link

docs: added example custom tiptap extension (arrow conversion) #971

Closed kom-senapati closed 2 months ago

kom-senapati commented 2 months ago

fixes #915 /claim #915

30_7_2024, 10_01_14 am - Screen - Untitled video.webm

vercel[bot] commented 2 months ago

@kom-senapati is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 months ago

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jul 31, 2024 1:08pm
blocknote-website ✅ Ready (Inspect) Visit Preview Jul 31, 2024 1:08pm
algora-pbc[bot] commented 2 months ago

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

YousefED commented 2 months ago

@kom-senapati sorry, I saw I wasn't exactly clear here. I'd prefer not to add this to BlockNote immediately, but to create an Example (https://github.com/TypeCellOS/BlockNote/tree/main/examples) called "Adding TipTap Extensions" that shows how you can enable this inputrule by registering a custom extension via _tiptapOptions. Apologies for the confusion

kom-senapati commented 2 months ago

@YousefED Is it good to go?