Skip to content

🎥 Make videos programmatically with React

Apply suggestions from code review

Jonny Burger4bd4902acc99
diff --git a/packages/docs/docs/editor-starter/cropping.mdx b/packages/docs/docs/editor-starter/cropping.mdx
index d70213718b..696be32420 100644
--- a/packages/docs/docs/editor-starter/cropping.mdx
+++ b/packages/docs/docs/editor-starter/cropping.mdx
@@ -29,7 +29,7 @@ Out of the [default item types](/docs/editor-starter/tracks-items-assets#items),
## Mechanic
-The `cropLeft`, `cropRight`, `cropTop` and `cropBottom` fields are ratios, where as `0` means no crop and `1` means cropping the entire axis.
+The `cropLeft`, `cropRight`, `cropTop` and `cropBottom` fields are ratios, whereas `0` means no crop and `1` means cropping the entire axis.
By using ratios instead of pixels, we can ensure that we don't lose precision when combining resizing and cropping.
@@ -49,10 +49,11 @@ By double-clicking an item that is croppable on the canvas, "Crop Mode" is activ
On any of the 8 handles, the user can drag to control the crop values.
-Feature flag: [`FEATURE_CROP_BACKGROUNDS`](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20FEATURE_CROP_BACKGROUNDS&type=code)
+
## Crop Backgrounds
+Feature flag: [`FEATURE_CROP_BACKGROUNDS`](https://github.com/search?q=repo%3Aremotion-dev%2Feditor-starter%20FEATURE_CROP_BACKGROUNDS&type=code)
When crop mode is activated, the full uncropped item is shown in the background with reduced opacity, to help the user visualize the cutout area. The actual opacity of the item is overridden to be `1` temporarily to ensure contrast.
## Negative crop values
@@ -61,4 +62,4 @@ In Crop Mode, the user can also reposition the item on the canvas, affecting the
It is more intuitive to also allow for negative crops while dragging the item, which is why we do so. This is aligned with Figma's behavior.
-Once crop mode is being exited by clicking anywhere outside of the item, the crop values are being clamped to be non-negative.
+Once the user exits crop mode by clicking anywhere outside of the item, the crop values are clamped to be non-negative.