Extract plain text from Lexical JSON for note card previews

Fixkamo-internal
Shipped
March 23, 2026 at 9:32 PM UTC
Author
kamo
Commit
4137c9c

The note content is now Lexical JSON, not HTML. The preview function was falling back to stripHtml which dumped raw JSON as the preview. Now parses Lexical JSON to extract text nodes, with fallback for legacy HTML content.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing