Added "@" shortcut to trigger internal linking search (beta)

no issue

Typing "@" in the editor will immediately trigger an internal link search to make it faster to link to one of your articles. After typing "@" continue typing to search, results can be selected using Up/Down arrow keys or the mouse, then pressing Enter or clicking will insert the selected result's title pre-linked. Pressing Escape or moving the cursor out of the search box will cancel the search.

- removed labs flag
- updated Koenig feature flag for at-linking to use the same flag as our internal linking beta
This commit is contained in:
Kevin Ansfield 2024-06-11 16:13:40 +01:00
parent ace8a2fb65
commit a896e1ccb7
4 changed files with 1 additions and 7 deletions

View File

@ -59,10 +59,6 @@ const features = [{
title: 'NestJS Playground',
description: 'Wires up the Ghost NestJS App to the Admin API',
flag: 'NestPlayground'
},{
title: 'Internal Linking @-links (internal alpha)',
description: 'Adds internal URL search when typing @ in the editor',
flag: 'internalLinkingAtLinks'
},{
title: 'ActivityPub',
description: '(Highly) Experimental support for ActivityPub.',

View File

@ -447,7 +447,7 @@ export default class KoenigLexicalEditor extends Component {
collectionsCard: this.feature.collectionsCard,
collections: this.feature.collections,
internalLinking: this.feature.internalLinking,
internalLinkingAtLinks: this.feature.internalLinkingAtLinks,
internalLinkingAtLinks: this.feature.internalLinking,
contentVisibility: this.feature.contentVisibility
},
deprecated: { // todo fix typo

View File

@ -83,7 +83,6 @@ export default class FeatureService extends Service {
@feature('onboardingChecklist') onboardingChecklist;
@feature('ActivityPub') ActivityPub;
@feature('internalLinking') internalLinking;
@feature('internalLinkingAtLinks') internalLinkingAtLinks;
@feature('editorExcerpt') editorExcerpt;
@feature('newsletterExcerpt') newsletterExcerpt;

View File

@ -54,7 +54,6 @@ const ALPHA_FEATURES = [
'importMemberTier',
'lexicalIndicators',
'adminXDemo',
'internalLinkingAtLinks',
'contentVisibility'
];