See web/components/editor/knowledge.md
for documentation
TipTap is a “headless” editor - meaning it handles the core functionality but not the styling.
styling is currently handled by the tailwind typography package. this is easy to change
Sinclair thinks TipTap is still a fine choice for the editor component itself. storing json was a mistake. oh well.
upgrading to TipTap 2.5+ would enable ssr via the immediatelyRender prop on the tiptap editor. this which would let you get rid of my custom generateReact
function in editor/utils.
upgrading to TipTap 3.0+ (which is not yet out) would let you get rid of tippy.js and popper as dependencies in the web bundle
also TipTap advertises kind of AI integration now, so you may want to upgrade just for that, but I suspect it’s better to roll the extension ourselves
migrate from tiptap json → markdown (not recommended)
generateHTML
from the latest @tiptap/html
to convert TipTap json to htmlmarked
recreate market previews as react
editor/market-modal.tsx
to insert the new market previewmove link previews outside of the content