3 Commits

Author SHA1 Message Date
bhursey 8601a6014f feat(training): captions under lesson images
Authors can now attach a caption to an image in the lesson editor; it is
sanitized as figure text and follows the image's alignment in the reader.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 00:45:32 +00:00
bhursey cb5976edb2 feat(training): rich-text lessons with inline images and 25 MB manuals
CI / build (push) Has been cancelled
Admins were authoring plain-text lessons, which made illustrated tutorials
and reordering images impossible. Lesson bodies are now sanitized HTML from a
Tiptap editor with alignment, sizing, drag-reorder and alt text, and inline
images reuse the training_resources table so no migration is needed.
Attachments grow to 25 MB, PDFs stream inline, and SVG is rejected because it
can execute as a document. Legacy plain-text bodies are normalized on read.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-20 12:18:24 +00:00
Tiel Coder 5adf1cef1f push to maple-street 2026-11-20 04:07:02 +00:00