mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
fix the typo
This commit is contained in:
parent
1587216fd7
commit
ee4cfec2ad
@ -119,7 +119,7 @@ export class NodeView<
|
||||
}
|
||||
|
||||
if (typeof this.options.stopEvent === 'function') {
|
||||
const shouldStopEvent = return this.options.stopEvent({ event })
|
||||
const shouldStopEvent = this.options.stopEvent({ event })
|
||||
if (shouldStopEvent !== null) {
|
||||
return shouldStopEvent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user