From e464711faa3c394354b19335b378128276609b6e Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 2 Mar 2021 15:56:35 +0000 Subject: [PATCH] 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" --- ghost/admin/lib/koenig-editor/addon/options/cards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/lib/koenig-editor/addon/options/cards.js b/ghost/admin/lib/koenig-editor/addon/options/cards.js index 6b39bc3e5d..cb3d47b2d0 100644 --- a/ghost/admin/lib/koenig-editor/addon/options/cards.js +++ b/ghost/admin/lib/koenig-editor/addon/options/cards.js @@ -122,7 +122,7 @@ export const CARD_MENU = [ label: 'Public preview', icon: 'koenig/kg-card-type-paywall', desc: 'Attract signups with a public intro', - matches: ['public preview', 'paywall'], + matches: ['public preview', 'preview', 'paywall'], type: 'card', replaceArg: 'paywall' }]