Make linewise copy/cut configurable

I would like to be able to disable this behavior, since in my use case, more people seems to accidentally hit Ctrl/Cmd+C and wipe their clipboard, just when they’re about to paste. Would be even better if this can be configurable for copy and cut individually, since the linewise cut can be sometimes useful.

Would a DOM event handler for "copy" that just returns true if the selection is empty cover this?

Hmm you are right, that would work. Thanks!