Add instructions field to quiz and matching item types

Instructions are optional free text shown to the student above the questions/word bank.
Admin enters them in the item editor; stored in items.body for quiz and matching types.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Nate EmmertandClaude Sonnet 4.6 committed 2026-08-01 16:57:52 -04:00
1 parent f9cc515cec
commit 60bfe3ca4a
5 files changed
+35 -4

No files matched your search

+8
View File
@@ -830,6 +830,14 @@ body.theme-indigo { --accent: #5b6abf; --accent-dark: #4a57a0; --bg: #f4f5ff; }
font-size: 1.05rem;
}
/* ---------- quiz / matching instructions ---------- */
.quiz-instructions {
background: var(--bg); border-left: 3px solid var(--accent);
border-radius: 6px; padding: 0.55rem 0.9rem;
font-size: 0.95rem; color: var(--ink);
margin-bottom: 1rem; text-align: left;
}
/* ---------- matching quiz ---------- */
.match-word-bank {
background: var(--bg); border: 2px solid var(--accent);