To manually test this, copy any text and try to paste into the input field. The value of the input should not change. initial value: | |
| contenteditable="plaintext-only" | "helloworld" after the cut: | |
| contenteditable="plaintext-only" |
after prevented paste: | |
| contenteditable="plaintext-only" |
after allowed paste: | |
| contenteditable="plaintext-only" | "helloworld" |