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>
This commit is contained in:
2026-11-21 00:45:32 +00:00
parent f7a0c8618f
commit 8601a6014f
6 changed files with 130 additions and 11 deletions
+3 -3
View File
@@ -683,9 +683,9 @@ export default function AdminGuidePage() {
</GuideStep>
<GuideStep>
Press the image button to upload a screenshot. Select the image to
align it left, center, or right, choose a width, edit its
description, or move it up and down. You can also drag the image to a
new position in the lesson.
align it left, center, or right, choose a width, add a caption shown
beneath it, edit its description, or move it up and down. You can
also drag the image to a new position in the lesson.
</GuideStep>
<GuideStep>
Set a sort order to control the list position. Lower numbers appear