diff --git a/components/LinkPreviewPopover.tsx b/components/LinkPreviewPopover.tsx index 022c365bbc5a..e4f0ca4808d3 100644 --- a/components/LinkPreviewPopover.tsx +++ b/components/LinkPreviewPopover.tsx @@ -356,7 +356,11 @@ export function LinkPreviewPopover() { link.href.startsWith(window.location.origin) && !link.classList.contains('heading-link') && !pathname.startsWith('/public/') && - !pathname.startsWith('/assets/') + !pathname.startsWith('/assets/') && + // This skips those ToolPicker links with `data-tool="vscode"` + // attribute, for example. + !link.dataset.tool && + !link.dataset.platform ) })