Skip to content

Commit

Permalink
Update files/en-us/web/api/clipboard/write/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
hamishwillee and github-actions[bot] authored May 20, 2024
1 parent 455c906 commit 470c814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/clipboard/write/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ A `try..catch` block could be used to catch any errors writing the data.

### Write canvas contents to the clipboard

This example first draws a blue rectangle to the canvas.
This example first draws a blue rectangle to the canvas.
When you click the blue rectangle the code first checks if the clipboard supports data of type `"image/png"`.
If so, the canvas displaying the rectangle is copied into a blob, and then the blob is added to a `ClipboardItem` and then written to the clipboard.

Expand Down

0 comments on commit 470c814

Please sign in to comment.