Feature Request: Copy/Paste across browser tabs

I assume you haven’t done this before due to a limitation of the tech that powers the builder, but there are tons of times when I’d like to be able to copy an element (either the whole element, or just the styling) from one browser tab to the next.

For example, I’m working on a local test site, but really like the styling of an element I created. Rather than saving the element as a preset, going to templates, downloading it, opening up the templates area in a second site, importing the element, loading a page, and then adding the element… it’d be awesome to be able to just copy/paste the element/styling from one site to the next.

Anyway, I feel like I’ve seen some version of this mentioned before, but wasn’t sure if anything changed now that you moved to a new tech stack for the builder…

We’ve run into this a few times as well, especially while working on assets like starter templates and prefabs. Sometimes you need something more quick and dirty than using the template manager. We’d need to revisit how copy/paste works in the tool to get there, but we did end up adding a way to do it via the Dev Console.

If you go to the Tools tab while inspecting an element you should see Copy and Paste Element buttons. Copy will convert the element to JSON and put it on your OS clipboard (your browser may ask for permissions) and paste can be done on an element of the same type to replace it and any children. We mainly use this to quickly move sections around between development environments.

1 Like

Nice, I’ll give that a try. Thanks!

Oh man, that is super helpful. Just tried it out, and it works great. Guess I got my Christmas Miracle™ after all :rofl:

Thanks! Glad that’s working nicely for you. Merry Christmas! :smiley:

1 Like

After reading it here, I use that all the time, it is great! I usually work with Chrome (windows). On my computer, the copy/paste does NOT work in Firefox. Copy seems to work, but not the pasting. It may be a peculiarity of my setup, but I thought I’ll mention it here to give you a heads up.

Thanks! Glad to hear it’s been useful for you. I looked into the Firefox issue and apparently they only support the Clipboard API in browser extensions. In Chrome you might have been prompted to provide access to the clipboard. I think they’re going to do something similar in Firefox at some point.