diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx index 5645b3d8b1..1df4c3bdf8 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx @@ -63,6 +63,10 @@ const features = [{ title: 'Prevent Member Spam Signups', description: 'Enables features to help combat spam member signups', flag: 'membersSpamPrevention' +},{ + title: 'Internal Linking', + description: 'Adds internal URL search to editor link inputs', + flag: 'internalLinking' }]; const AlphaFeatures: React.FC = () => { diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 19db382793..3b34bb5b88 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -82,6 +82,7 @@ export default class FeatureService extends Service { @feature('portalImprovements') portalImprovements; @feature('onboardingChecklist') onboardingChecklist; @feature('membersSpamPrevention') membersSpamPrevention; + @feature('internalLinking') internalLinking; _user = null; diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 025a95bb3f..1d294ebaa7 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -51,7 +51,8 @@ const ALPHA_FEATURES = [ 'lexicalIndicators', // 'adminXOffers', 'adminXDemo', - 'membersSpamPrevention' + 'membersSpamPrevention', + 'internalLinking' ]; module.exports.GA_KEYS = [...GA_FEATURES];