0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Added gifs card to card menu

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

- behind the `gifsCard` feature flag
- currently maps to the unsplash image selector whilst we're building out an alternative selector
This commit is contained in:
Kevin Ansfield 2021-11-11 15:15:53 +00:00
parent b42271d87c
commit 6190feb0b9

View file

@ -211,6 +211,20 @@ export const CARD_MENU = [
imageSelector: 'unsplash'
}
},
{
label: 'GIF',
icon: 'koenig/kg-card-type-unsplash',
desc: '/gif [search-term or url]',
iconClass: 'kg-card-type-unsplash',
matches: ['gif', 'giphy', 'tenor'],
type: 'card',
replaceArg: 'image',
params: ['searchTerm'],
payload: {
imageSelector: 'unsplash'
},
feature: 'gifsCard'
},
{
label: 'Vimeo',
icon: 'koenig/kg-card-type-vimeo',