Files
flowdeck/app
bruno 38a188e6e2
FlowDeck CI / test (push) Failing after 5s
FlowDeck CI / docker (push) Has been skipped
local-workspace: fix preview content rendering for all document types
Root cause: blocks format content is a direct array [{id,type,content}],
not wrapped in {blocks:[...]}. Old code checked blocks.blocks which was
always undefined, so internal pages showed nothing.

Fixes:
- Handle blocks as raw array or {blocks:[...]} wrapper (both formats)
- Add heading styling (h3-h6 based on heading_1/2/3), code blocks (pre)
- Add proper markdown format handler (renders as pre-wrapped text)
- Add format=file handler showing file metadata + Open file link
- Add unknown format fallback as pre-wrapped text with char limit
- Clean up escaped quotes — no more double-escaped \" in strings
- Better empty state messages (Empty document, No content)
2026-07-22 09:27:15 -04:00
..
2026-07-21 22:28:30 -04:00
2026-07-21 22:28:30 -04:00