Is there a way to prevent pasting after checking the selection?

I am looking for a way to prevent the user from pasting depending on their copied selection and pasting selection (e.g. stop the user from pasting a column if they copied an entire row and vice versa).

I’ve looked into the beforePaste() method and other members related to the copyPaste plugin, but I can’t find any way to stop the paste.

Ideally, I want the user’s selected range to remain the same, without any data being pasted.

I have no idea how this has never been answered :frowning:

@ry6262 if you are still struggling with anything please send me an email to support@handsontable.com I will answer all your questions.