diff --git a/apps/renderer/src/components/ui/markdown/renderers/MarkdownLink.tsx b/apps/renderer/src/components/ui/markdown/renderers/MarkdownLink.tsx index 983a39f75b..38abc3d037 100644 --- a/apps/renderer/src/components/ui/markdown/renderers/MarkdownLink.tsx +++ b/apps/renderer/src/components/ui/markdown/renderers/MarkdownLink.tsx @@ -32,6 +32,7 @@ export const MarkdownLink = (props: LinkProps) => { { { + if (window.getSelection()?.toString()) { + e.preventDefault() + } + }} >