We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3496d commit 6cb128aCopy full SHA for 6cb128a
packages/richtext-lexical/src/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.tsx
@@ -124,7 +124,7 @@ export function LinkEditor({ anchorElem }: { anchorElem: HTMLElement }): React.R
124
} else {
125
// internal link
126
setLinkUrl(
127
- `/admin/collections/${focusLinkParent.getFields()?.doc?.relationTo}/${
+ `${config.routes.admin === '/' ? '' : config.routes.admin}/collections/${focusLinkParent.getFields()?.doc?.relationTo}/${
128
focusLinkParent.getFields()?.doc?.value
129
}`,
130
)
0 commit comments