mavonEditor icon indicating copy to clipboard operation
mavonEditor copied to clipboard

How to disable shortcuts?

Open GrayedFox opened this issue 7 years ago • 2 comments
trafficstars

I have set the toolbar to disabled, which I thought would also disable shortcuts, but it has not.

I understand that these two things could/should remain separate, but then how do I disable short cuts?

When I press CTRL + SHIFT + R I want to trigger a browser hard refresh, even if my cursor is in the editable mavon-editor text field.

Thanks!

GrayedFox avatar Oct 23 '18 09:10 GrayedFox

I would like the ability to disable the CTRL+BACKSPACE shortcut. By default this should remove the last word that was typed, but mavon-editor removes the entire input. This is very annoying to my users.

Siarl avatar Jan 29 '23 15:01 Siarl

I would like the ability to disable the CTRL+BACKSPACE shortcut. By default this should remove the last word that was typed, but mavon-editor removes the entire input. This is very annoying to my users.

@keydown.native.delete.capture="on_delete"

on_delete(event) {
  if (event.ctrlKey) {
    event.stopPropagation();
  }
}

altiorem00 avatar Mar 28 '24 15:03 altiorem00