mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
parent
f3db8e948d
commit
3eb5869c99
@ -11,7 +11,7 @@ export function clickHandler(options: ClickHandlerOptions): Plugin {
|
||||
key: new PluginKey('handleClickLink'),
|
||||
props: {
|
||||
handleClick: (view, pos, event) => {
|
||||
if (event.button !== 1) {
|
||||
if (event.button !== 0) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user