Skip to content

prosekit/extensions/mod-click-prevention

defineModClickPrevention

ts
function defineModClickPrevention(): ModClickPreventionExtension

By default, clicking a node while holding the mod key will select the node. This extension disables that behavior.