-
-
Notifications
You must be signed in to change notification settings - Fork 559
Documentation Request: can BlockNote use TipTap extensions (e.g. for Tables) #63
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
Comments
Thanks @brandondrew! We're currently working to make (re)design API surface for custom elements, documentation will be part of this, keep you posted! |
Very curious about this
Love to learn more about this, and any progress. I can even offer to help out if needed. |
The current focus is to separate the React UI layer #74 #75. This will improve the overall architecture. We expect his will be done in January. Then, we'll start looking at the extensibility API surface Your input will definitely be useful! Can you share what kind of elements or other functionality you'd like to add? |
Hello, I approciate your hard work. Is there an update about this issue? Seems the PRs that you mentioned are already merged. |
Read some codes, found out that I can add extensions by adding |
@maxswjeon please report back if you're able to add extensions. thanks! |
For the record, the tiptap extension initialization is occured in |
Checked and made a PoC(Proof of Concept) for it, but it was not successful.
Might need a factory method, such as It would be great if the maintainers check about this, if possible. (since I don't know the codebase that well.) |
Hi all! While this indeed is technically possible, there are two tricky things here why it's currently not encouraged:
Instead, we'll work on a plugin system (such as #164 ) to be able to add your own custom blocks. This might include a helper to transform Tiptap Nodes into custom blocks. Hope this helps! |
BlockNote looks absolutely amazing, but my requirement (unfortunately) includes a need to support user-editable tables. Can BlockNote use TipTap extensions? Will they automatically appear in the slash menu? I would love some documentation on using TipTap extensions in BlockNote, if it is possible.
Thanks!
The text was updated successfully, but these errors were encountered: