When you want paste something in a contenteditable element by using javascript, there are two ways.
document.execCommand('paste')
navigator.clipboard.read()
On safari browser, paste content programmably will show system paste menu sometimes, not always. The above two methods's behavior are same.
Is there anyway to disable this?
My safari browser: v15.0.
Test page ==> https://codepen.io/netsi1964/pen/QbLLGW?editors=0010