test(pages): cover the canvas frame; record its unsandboxed frame in the proposal

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-03 15:01:16 +08:00
1 parent 7e916b77b9
commit 6b3498d123
4 files changed
+35 -6

No files matched your search

@@ -46,5 +46,6 @@ None.
- `CmsBlocks` gains edit-mode hooks, which the public page does not use.
- `HtmlFrame` listens on the window of the document it is in.
- A leave guard for in-app links.
- **Security:** the editor canvas is the portal's only frame without a `sandbox`. It must be same-origin for the editor to render into it, and a sandbox would also stop scripts in the Custom HTML frames nested inside. It loads only a constant blank document with no `src`, so no stored HTML ever runs as the portal. The markup sweep test allow-lists exactly that file and shape (design Decision 1).
- **No server, API, database or SQL changes.** New labels only, with a label SQL file.
- **No new dependencies.** Tiptap is already installed; dragging uses native drag-and-drop.