feat: Custom inline equation using the BlockNote API
API Extension Changes:
- Pass the Tiptap node to props for inline content to access node attr, nodeSize, etc.
- Allow custom
renderHTMLimplementation for inline content (in this case, to address copying issues)"
Link
- #953
- #741
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| blocknote | ❌ Failed (Inspect) | Aug 26, 2024 0:03am |
@jkcs is attempting to deploy a commit to the TypeCell Team on Vercel.
A member of the Team first needs to authorize it.
Thanks! The UX of this looks great. I hope to dive into the code coming week. I'd like to research what API surface we'd need to add so this can be built using purely the BlockNote API (and not TipTap internals). Will keep you posted, but lmk in case you have suggestions for this!
👍👍👍Extending isSelected is much better than before.
New bug: losing focus on input, need to keep isSelected as true.
Implement BlockNote API to add, remove, and edit inline content. For the tiptapApi, it requires 'pos'. Is there a way to operate based on the node rather than using 'pos' every time?