# Custom HTML block for landing pages — design Date: 2026-12-02. Status: draft for owner approval. ## Intent Marketing staff want to generate page sections with an AI tool and paste the HTML into a landing page, so a page can look like a designed site rather than only the built-in blocks. The owner chose option 1 on 2026-12-02: a "Custom HTML" block shown in a sealed frame. ## Goals - A new block type, **Custom HTML**, holding HTML pasted by staff with `BO_PAGES`. - The pasted HTML renders as the AI designed it: its own styles, fonts, CDN libraries and scripts. - The pasted HTML can never act as the visitor or as a staff member on the Co-Lite site: no access to cookies, the back-office APIs, the page around it, or top-level navigation. - Leads still come only from the built-in Sign-up form block, with consent, interests and UTM tags. ## Non-goals - Forms inside the pasted HTML do not submit. A pasted "contact us" form is decoration; staff add the Sign-up form block for real leads. - No HTML editor, syntax highlighting or AI generation inside Co-Lite. Staff paste text. - No search-engine indexing of the framed content. The page title, description and the other blocks still carry the page's search text. ## Anti-goals - Any path where pasted HTML runs with the Co-Lite origin. This includes someone opening the frame's address directly in a browser tab. ## Approaches 1. **Sealed frame (chosen).** The HTML is served from its own address with a `sandbox` Content-Security-Policy and shown in an `