contenteditable="true" onbeforecut="alert('being copied to the clipboard')"> Cut and copy text to the system clipboard by pressing Ctrl+X.