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 c5d87d6 commit ccd0147Copy full SHA for ccd0147
1 file changed
packages/extension-link/src/helpers/clickHandler.ts
@@ -32,7 +32,7 @@ export function clickHandler(options: ClickHandlerOptions): Plugin {
32
}
33
34
const attrs = getAttributes(view.state, options.type.name)
35
- const link = (event.target as HTMLLinkElement)
+ const link = (event.target as HTMLAnchorElement)
36
37
const href = link?.href ?? attrs.href
38
const target = link?.target ?? attrs.target
0 commit comments