feat(pages): render Custom HTML blocks as sized sealed frames and honour hide header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 17:58:15 +08:00
1 parent 1ceefd7231
commit 6a0a6613c1
7 files changed
+89 -13

No files matched your search

@@ -17,7 +17,7 @@ Design: `design.md` and `docs/superpowers/specs/2026-12-02-custom-html-block-des
- [x] 2.1 Frame routes (public and preview) with the sandbox headers, the 404 rules and the height script.
- The middleware skips them; `routeGuard` admits the public frame path.
- Security code: read the whole diff.
- [ ] 2.2 `CmsBlocks`:
- [x] 2.2 `CmsBlocks`:
- the sandboxed iframe with height messages from its own frame only;
- `hideHeader` hides the header and the title.
- [ ] 2.3 Editor: