diff --git a/app/(creator)/forms/[id]/responses/[responseId]/page.tsx b/app/(creator)/forms/[id]/responses/[responseId]/page.tsx index b33b42e..a393aee 100644 --- a/app/(creator)/forms/[id]/responses/[responseId]/page.tsx +++ b/app/(creator)/forms/[id]/responses/[responseId]/page.tsx @@ -5,6 +5,7 @@ import { notFound } from "next/navigation"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; +import { AuthoredMarkdown } from "@/components/ui/authored-markdown"; import { AGREEMENT_ANSWER_VALUES } from "@/lib/blocks"; import { getServerAuthSession } from "@/lib/auth"; import { AppError } from "@/lib/errors"; @@ -145,14 +146,16 @@ export default async function ResponseDetailPage({ {block.title || t("responseDetail.contextTitle")} {block.description ? ( -
- {block.description} -
+- {block.config.body} -
+- {block.description} -
+- {summary.block.description} -
++ {t("builder.markdownHelp")} +
) : null} @@ -973,6 +976,9 @@ export function BlockEditorPanel({ value={(blockDraft.config as TextBlockConfig).body} onChange={(event) => updateConfig({ body: event.target.value })} /> ++ {t("builder.markdownHelp")} +
) : null} diff --git a/components/public-form-runner.tsx b/components/public-form-runner.tsx index 2e17a2a..7e93209 100644 --- a/components/public-form-runner.tsx +++ b/components/public-form-runner.tsx @@ -22,6 +22,7 @@ import { useI18n } from "@/components/i18n-provider"; import { Button, buttonVariants } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; import { DatePickerInput } from "@/components/ui/date-picker-input"; +import { AuthoredMarkdown } from "@/components/ui/authored-markdown"; import { Input } from "@/components/ui/input"; import { ToastViewport, type ToastData } from "@/components/ui/toast"; import { Textarea } from "@/components/ui/textarea"; @@ -572,9 +573,10 @@ export function PublicFormRunner({ form }: { form: PublicForm }) {- {(currentBlock.config as TextBlockConfig).body} -
+- {currentBlock.description} -
+