vue-highlights icon indicating copy to clipboard operation
vue-highlights copied to clipboard

Selecting text with the keyboard doesn't work

Open anatolykopyl opened this issue 2 years ago • 0 comments

Pressing shift+right or cmd+a doesn't let you highlight text as it's supposed to. Each keyUp event triggers an innerHTML update that wipes the selection.

This can be fixed by adding a list of exception keys that will be ignored when handling the keyUp event.

anatolykopyl avatar Jul 09 '22 12:07 anatolykopyl