diff --git a/frontend/src/components/ui/wysiwyg/plugins/file-tag-typeahead-plugin.tsx b/frontend/src/components/ui/wysiwyg/plugins/file-tag-typeahead-plugin.tsx index b729996c..f9c3b723 100644 --- a/frontend/src/components/ui/wysiwyg/plugins/file-tag-typeahead-plugin.tsx +++ b/frontend/src/components/ui/wysiwyg/plugins/file-tag-typeahead-plugin.tsx @@ -100,7 +100,7 @@ export function FileTagTypeaheadPlugin({ projectId }: { projectId?: string }) { return { leadOffset: offset, matchingString: match[1], - replaceableString: match[0], + replaceableString: match[0].slice(match[0].indexOf('@')), }; }} options={options}