mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
* fix(studio): an element patch is declined when its target is a script, style or template A patch edits a layer. patchElementInHtml wrote text, markup and attributes into whatever element the target resolved to, including an inline script, a stylesheet or a template, so a text edit whose target named one replaced that element's source. It now answers matched:false and leaves the file as it is when the target, or an operation's child target, is one of the tags that never take a stable id (script, style, template, meta, link, noscript, base). A text edit of a layer whose only child is a script writes the text on the layer instead of into the script. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * chore(studio): say the declined-target rule in the name, not in comments Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>