Fix Pretext island: inline layout functions, div placeholder for hydration
- Move all layout functions inside defisland body (browser can't access top-level defines from component defs bundle) - Use div placeholder with data-sx-island attr (matches island root tag) - Rename pretext-island.sx → pretext-client.sx for alphabetical load order Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -302,4 +302,4 @@
|
||||
(code "canvas.measureText")
|
||||
" gives pixel-perfect metrics — the browser that measures is the browser that renders. "
|
||||
"Drag the sliders to re-layout in real time.")
|
||||
(span :data-sx-island "pretext-demo/live" "")))))))
|
||||
(div :data-sx-island "pretext-demo/live" "")))))))
|
||||
Reference in New Issue
Block a user