mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-24 03:21:20 -05:00
7eefdd336c
* add CTA question type together with new Text Editor based on Lexical and CTA summary --------- Co-authored-by: moritzrengert <moritz@rengert.de>
11 lines
375 B
TypeScript
11 lines
375 B
TypeScript
import { cleanHtml } from "@formbricks/lib/cleanHtml";
|
|
|
|
export default function HtmlBody({ htmlString, questionId }: { htmlString: string; questionId: string }) {
|
|
return (
|
|
<label
|
|
htmlFor={questionId}
|
|
className="fb-block fb-text-sm fb-font-normal fb-leading-6 text-slate-600"
|
|
dangerouslySetInnerHTML={{ __html: cleanHtml(htmlString) }}></label>
|
|
);
|
|
}
|