js-draw icon indicating copy to clipboard operation
js-draw copied to clipboard

feat: Add copy/paste buttons to the toolbar in browsers that support it

Open personalizedrefrigerator opened this issue 2 years ago • 1 comments

Summary

Adds a copy/paste button to the selection toolbar menu. This allows mobile devices to copy and paste content from the system clipboard.

To-do

  • [ ] UI design -- the current UI makes it difficult to access paste when content is selected. It might instead make sense to display copy and paste buttons side by side. Alternatively, the copy button could be shown in a menu that floats above selected content.
  • [ ] Testing

Screenshots/other information

screenshot: Paste button added to selection menu

Visit the preview URL for this PR (updated for commit 6b4f8a8):

https://js-draw--pr62-work-add-copy-paste-b4bb6pd7.web.app

(expires Thu, 29 Aug 2024 08:48:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e560ee6f7bb6b79cb55b42fb4c05e9fd1b5c506e

github-actions[bot] avatar Feb 22 '24 22:02 github-actions[bot]

Closing in favor of https://github.com/personalizedrefrigerator/js-draw/pull/78.