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 528b31a commit 87743e8Copy full SHA for 87743e8
src/components/docImageClient.tsx
@@ -30,12 +30,9 @@ export function DocImageClient({
30
31
// For external images or invalid dimensions, fall back to regular img tag
32
if (src.startsWith('http') || !isValidDimensions) {
33
- const handleClick = (e: React.MouseEvent) => {
34
- // If Ctrl/Cmd+click, open image in new tab
35
- if (e.ctrlKey || e.metaKey) {
36
- window.open(imgPath, '_blank', 'noreferrer');
37
- return;
38
- }
+ const handleClick = () => {
+ // Always open image in new tab
+ window.open(imgPath, '_blank');
39
};
40
41
return (
0 commit comments