Files
hyperframes/packages/studio-server/src
Miguel Angel Simon Sierra 67e08d575c feat(studio): non-destructive crop via clip-path inset (OP2)
Crop a selected element visually: a Crop toggle in the Clip panel arms
edge handles on the overlay; dragging live-previews clip-path inset on
the iframe element and commits once through the existing inline-style
patch path (undo/persist like any style edit). Per-side T/R/B/L inset
fields join the Clip section; radius is preserved, insets clamped.
Render-time only: the media file is untouched.

Clip-path helpers move to clipPathHelpers.ts (re-exported) with 1- and
4-value inset parse/format support.
2026-07-03 19:22:37 -07:00
..