import { useEffect, useRef } from "react"; export interface CustomHTMLContentProps { html: string; } // CustomHTMLContent renders administrator-supplied HTML. Scripts inside the // markup do not run when injected via innerHTML, so each