Ghost/ghost/admin/lib/koenig-editor/app/helpers
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
..
card-is-available.js Added support for feature-gated editor cards 2021-07-20 10:48:41 +01:00
clean-basic-html.js Use extracted @tryghost/kg-clean-basic-html package 2019-05-02 17:14:00 +01:00
kg-style.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
sanitize-html.js Koenig - Pass html card content through sanitiser 2018-08-09 14:59:03 +01:00