diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index 5d6d379799..72f3a0be74 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -251,7 +251,10 @@ export default class KoenigLexicalEditor extends Component { }, tenor: this.config.tenor?.googleApiKey ? this.config.tenor : null, fetchEmbed: fetchEmbed, - fetchAutocompleteLinks + fetchAutocompleteLinks, + feature: { + signupCard: this.feature.get('signupCard') + } }; const cardConfig = Object.assign({}, defaultCardConfig, props.cardConfig, {pinturaConfig: this.pinturaConfig}); diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index c2f47cae46..a31b2ef0f5 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -74,6 +74,7 @@ export default class FeatureService extends Service { @feature('postDiffing') postDiffing; @feature('announcementBar') announcementBar; @feature('imageEditor') imageEditor; + @feature('signupCard') signupCard; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index f168190d3c..ae03f44132 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -346,6 +346,21 @@ + +
+ {{/if}} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index c842c01080..939f1ecfd8 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -40,7 +40,8 @@ const ALPHA_FEATURES = [ 'makingItRain', 'postHistory', 'postDiffing', - 'imageEditor' + 'imageEditor', + 'signupCard' ]; module.exports.GA_KEYS = [...GA_FEATURES];