The list of hardcoded cropping options (ImageCroppingOptions.ts) will be replaced with the list of styles fetched from the backend. This list should be filtered to only contain styles with empty type, which means that if no custom styling is defined then the list will initially have only one option - "Original" since it's the only predefined style (see https://github.com/enonic/xp/issues/6618).
The list of hardcoded cropping options (ImageCroppingOptions.ts) will be replaced with the list of styles fetched from the backend. This list should be filtered to only contain styles with empty
type
, which means that if no custom styling is defined then the list will initially have only one option - "Original" since it's the only predefined style (see https://github.com/enonic/xp/issues/6618).Remove all the redundant TS classes.