fix: Hook into markdown-generated anchors to avoid e.g breaking the desktop app

This commit is contained in:
marc2332
2024-12-13 22:43:18 +01:00
parent e787495ad0
commit c4143bd7de
4 changed files with 90 additions and 4 deletions

1
interface.d.ts vendored
View File

@ -84,5 +84,6 @@ export interface IElectronAPI {
declare global {
interface Window {
electron: IElectronAPI
openExternalLink: (e: React.MouseEvent<HTMLAnchorElement>) => void
}
}