enonic / app-contentstudio-old

Enonic XP - Content Studio app
GNU General Public License v3.0
1 stars 1 forks source link

Populate dropdown with styles from styles.xml in the Insert Image dialog #450

Closed alansemenov closed 6 years ago

alansemenov commented 6 years ago

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.