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:
parent
b42271d87c
commit
6190feb0b9
1 changed files with 14 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue