← Todas las ideas
0

Docs: Add image and file blocks with upload, paste and drag and drop

LanzadaDocsIdea

Notion supports /image, /file, /video and /pdf blocks, drag and drop from the desktop, paste of screenshots, resize, captions and alt text, even on the Free plan with a 5 MB per file limit (https://www.notion.com/help/images-files-and-media, https://www.notion.com/pricing). Our block enum in lib/docs-schema.ts has no media type, lib/docs-richtext.ts lists IMG/VIDEO in DROP_TAGS so pasted images vanish, and covers only accept a URL. A team writing specs, how-tos or meeting notes constantly pastes screenshots, so this is the most visible missing primitive. First scope: an image block and a file block (name, size, download) backed by the existing lib/uploads.ts (Vercel Blob or local disk), created from /image, clipboard paste and drop, with caption and width; reuse the same upload for covers. Priority: high. Effort: M. Compared with Notion.

Comentarios 0

Sin comentarios todavía.