mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
fix: document safe template default editing
This commit is contained in:
@@ -14,6 +14,10 @@ Only defaults declared in `data-composition-variables` are editable:
|
||||
|
||||
Typed and streamed copy is length-locked to within 20% of the original.
|
||||
|
||||
## Safe editing mechanics
|
||||
|
||||
Call `set_template_variable_defaults` once with the existing variable ids and their new defaults. Do not directly edit or rewrite `index.html` or its `data-composition-variables` attribute; the imported declaration is HTML-entity-encoded JSON and the setter preserves that encoding. Never edit `__template_baseline__.html` or a duplicate composition file. Validate after the setter succeeds.
|
||||
|
||||
## Protected
|
||||
|
||||
Preserve the ChatGPT name, labels, suggestions, predictive keyboard text, header, composer, keyboard, icons, fonts, palette, layout, status UI, table geometry, scene structure, duration, timing, easing, typing cadence, and reveal behavior.
|
||||
|
||||
Reference in New Issue
Block a user