webstudio-is / webstudio

The web builder for advanced sites. An open-source visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
https://webstudio.is
GNU Affero General Public License v3.0
4.47k stars 475 forks source link

Copy-paste using menu #499

Open rpominov opened 1 year ago

rpominov commented 1 year ago
Screenshot 2022-11-23 at 14 28 33

We used to have Copy and Paste menu items, which I had to hide in #463 because we've moved to Clipboard API and it's tricky to implement these buttons with it.

But might be possible, at least in some browsers and maybe with a user consent popup or something. Need to research this and do what we can.

kof commented 1 year ago

I think Figma allows copying cross project and uses the menu, try

rpominov commented 1 year ago

Tested and it's strange:

  1. It didn't allow me to copy from one tab to the other at all (via menu or keyboard)
  2. When I tried to pate using keyboard it showed me this popup
  3. Inside one tab copying via menu works there
Screenshot 2022-11-23 at 15 59 25

If you think this is important I can spend time on research and implementation now

kof commented 1 year ago

so they can't do it even with native shortcuts? I thought the problem is only there when you want to trigger copy/paste using custom menu

rpominov commented 1 year ago

I don't know why it doesn't work in Figma even with keyboard

rpominov commented 1 year ago

Basically all this very confusing, and I think will take like a day to figure out what is possible and do it. And I don't think these buttons in global menu add much value to the user, so to me this seem like high effort low impact task.

kof commented 1 year ago

Yeah, lets keep this issue for later, after beta