BugBug

Clipboard

Copy inside an iframe

  • Copy writes the input value with navigator.clipboard.writeText.
  • Copy with execCommand selects a temporary textarea and calls document.execCommand with copy.

Copy on the page

Status: idle

Paste target

Paste the clipboard here, then press Enter to add it to the list. The input is uncontrolled: the DOM keeps its value.

Last paste event:

    Controlled paste target

    A React controlled input: its value comes from state, updated only by onChange. A value written to the DOM without an input event is reverted on the next render.

    State value: