mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 13:58:20 +00:00
Element ids that aren't valid CSS identifiers — most commonly digit-leading ones like 01-hook-hero-word — make #id an invalid selector: querySelector and GSAP's querySelectorAll throw a SyntaxError, surfacing as a masked cross-origin Script error that crashes the preview the instant such a target is committed (dragging the element writes gsap.set(#01-...)). Route the studio's commit/selection selector building through a shared idSelector() that falls back to an [id=...] attribute selector for those ids.