Files
hyperframes/packages
Vance Ingalls 7b5d8c7d44 fix(studio): gate flat Text group to text-editable elements, dedupe heading in multi-field fallback
The flat inspector's Text FlatGroup rendered unconditionally, showing an
empty "Text" header for non-text elements (image, video, etc). Gate it on
isTextEditableSelection(element) so it disappears entirely when there's no
text to edit.

Also, the legacy multi-field TextSection (used as a fallback when an
element has 2+ text fields) rendered its own internal "Text" heading
nested inside the new flat Text FlatGroup, producing a doubled "Text"
heading. Add a hideOwnHeading prop to TextSection (default false, so its
other — legacy, non-flat — call site is unaffected) and pass it from
FlatTextSection's fallback path.
2026-07-14 00:59:06 -07:00
..
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00
2026-07-14 00:29:29 -04:00