From 0fcf89b1fadae568533ac895e11cb459c792c0cf Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 4 Jan 2022 12:54:37 +0000 Subject: [PATCH] Cleaned up `nftCard` labs flag refs https://github.com/TryGhost/Team/issues/1258 - removed labs flag and conditionals --- ghost/admin/app/services/feature.js | 1 - ghost/admin/app/templates/settings/labs.hbs | 13 ------------- .../admin/lib/koenig-editor/addon/options/cards.js | 3 +-- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index b5904bc253..4a93242d21 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -56,7 +56,6 @@ export default Service.extend({ mediaAPI: feature('mediaAPI'), filesAPI: feature('filesAPI'), calloutCard: feature('calloutCard'), - nftCard: feature('nftCard'), accordionCard: feature('accordionCard'), fileCard: feature('fileCard'), audioCard: feature('audioCard'), diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index d2f533e0dd..556b2a5f71 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -339,19 +339,6 @@ -
-
-
-

Cardmageddon - NFT (Opensea embed)

-

- Embed NFT cards directly in post content -

-
-
- -
-
-
diff --git a/ghost/admin/lib/koenig-editor/addon/options/cards.js b/ghost/admin/lib/koenig-editor/addon/options/cards.js index 9ce0cae9ec..7bec4bc257 100644 --- a/ghost/admin/lib/koenig-editor/addon/options/cards.js +++ b/ghost/admin/lib/koenig-editor/addon/options/cards.js @@ -350,8 +350,7 @@ export const CARD_MENU = [ matches: ['nft', 'opensea'], type: 'card', replaceArg: 'embed', - params: ['url'], - isAvailable: 'feature.nftCard' + params: ['url'] }, { label: 'Other...',