Ghost/ghost/admin/lib/koenig-editor/app
Kevin Ansfield 10f83ebd45 Added support for feature-gated editor cards
refs https://github.com/TryGhost/Team/issues/910

- added `card-is-available` helper that handles the previous `card.developerExperiment` and the new `card.feature` options
- updated `<KoenigMenuContent>` to use the `card-is-available` helper in the conditional when adding cards to the list

Cards can be gated by feature when specifying them in `cards.js`, in the card definition object you can add `feature: 'flagName'` which will mean the card is only available when that feature is enabled.
2021-07-20 10:48:41 +01:00
..
components Completed paywall card implementation 2021-02-17 14:18:12 +00:00
helpers Added support for feature-gated editor cards 2021-07-20 10:48:41 +01:00
services do not show card toolbar if caption has focus 2019-05-01 15:13:49 +01:00