feat(training): rich-text lessons with inline images and 25 MB manuals
CI / build (push) Has been cancelled
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>
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ POSTMARK_FROM=media@localhost
|
||||
# Console transport directory (a named Docker volume in compose).
|
||||
OUTBOX_DIR=/tmp/outbox
|
||||
|
||||
# Training attachments (metadata in Postgres, bytes on disk; max 5 MB each).
|
||||
# Training attachments (metadata in Postgres, bytes on disk; max 25 MB each).
|
||||
UPLOAD_DIR=/tmp/uploads
|
||||
|
||||
# NFS archive. Mount the export on the Docker host, then point
|
||||
|
||||
Reference in New Issue
Block a user