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

Added "preview" as a matching shortcut for paywall card

no issue

- slash-menu shortcuts are exact matches for the card's keywords so "preview" wouldn't match "public preview"
This commit is contained in:
Kevin Ansfield 2021-03-02 15:56:35 +00:00
parent e66bb4feac
commit e464711faa

View file

@ -122,7 +122,7 @@ export const CARD_MENU = [
label: 'Public preview', label: 'Public preview',
icon: 'koenig/kg-card-type-paywall', icon: 'koenig/kg-card-type-paywall',
desc: 'Attract signups with a public intro', desc: 'Attract signups with a public intro',
matches: ['public preview', 'paywall'], matches: ['public preview', 'preview', 'paywall'],
type: 'card', type: 'card',
replaceArg: 'paywall' replaceArg: 'paywall'
}] }]