Added beta feature toggle for moving excerpt field into editor (#20341)

closes https://linear.app/tryghost/issue/MOM-179

Full details coming soon to https://ghost.org/changelog

- Adds a toggle to labs setting that moves the excerpt input below the post title in the editor
This commit is contained in:
Kevin Ansfield 2024-06-05 20:14:34 +01:00 committed by GitHub
parent 4a94b5efc9
commit a7a1166310
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -67,10 +67,6 @@ const features = [{
title: 'ActivityPub',
description: '(Highly) Experimental support for ActivityPub.',
flag: 'ActivityPub'
},{
title: 'Show post excerpt inline',
description: 'Adds the excerpt input below the post title in the editor',
flag: 'editorExcerpt'
},{
title: 'Excerpt in newsletter',
description: 'Showing excerpt in newsletter',

View File

@ -19,6 +19,10 @@ const BetaFeatures: React.FC = () => {
action={<FeatureToggle flag="internalLinking" />}
detail={<>Search and link to your own content directly inside the editor so that your workflow is never interrupted</>}
title='Internal linking' />
<LabItem
action={<FeatureToggle flag="editorExcerpt" />}
detail={<>Adds the excerpt input below the post title in the editor</>}
title='Show post excerpt inline' />
<LabItem
action={<FeatureToggle flag="additionalPaymentMethods" />}
detail={<>Enable support for PayPal, iDEAL, WeChat Pay and others. <a className='text-green' href="https://ghost.org/help/payment-methods" rel="noopener noreferrer" target="_blank">Learn more &rarr;</a></>}

View File

@ -37,7 +37,8 @@ const BETA_FEATURES = [
'activitypub',
'internalLinking',
'stripeAutomaticTax',
'webmentions'
'webmentions',
'editorExcerpt'
];
const ALPHA_FEATURES = [
@ -53,7 +54,6 @@ const ALPHA_FEATURES = [
'importMemberTier',
'lexicalIndicators',
'adminXDemo',
'editorExcerpt',
'internalLinkingAtLinks'
];