0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Added new audio card

refs https://github.com/TryGhost/Team/issues/1230

- new audio card allows adding custom audio files with thumbnail to post/page
- also adds new file and media API to manage files/thumbnails uploaded for new cards
This commit is contained in:
Rishabh Garg 2021-12-14 10:54:45 +05:30 committed by GitHub
parent 93a81fc0ca
commit daea92cf3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,10 @@ const GA_FEATURES = [
'calloutCard', 'calloutCard',
'accordionCard', 'accordionCard',
'productCard', 'productCard',
'richTwitterNewsletters' 'richTwitterNewsletters',
'audioCard',
'mediaAPI',
'filesAPI'
]; ];
// NOTE: this allowlist is meant to be used to filter out any unexpected // NOTE: this allowlist is meant to be used to filter out any unexpected
@ -35,11 +38,8 @@ const ALPHA_FEATURES = [
'membersActivity', 'membersActivity',
'cardSettingsPanel', 'cardSettingsPanel',
'urlCache', 'urlCache',
'mediaAPI',
'filesAPI',
'membersAutoLogin', 'membersAutoLogin',
'fileCard', 'fileCard',
'audioCard',
'videoCard', 'videoCard',
'beforeAfterCard', 'beforeAfterCard',
'tweetGridCard', 'tweetGridCard',