Ask user how to proceed when pasting elements from another project

Currently, when copying elements from one project and pasting onto another, Webflow will automatically duplicate any classes that already existed and keep those on the elements instead.

For example, let's say in both projects A and B I had a class called "galleryImage" that was set to many images. If I copy the images in project A and paste them onto project B, Webflow will automatically create class "galleryImage2" and apply it to the images I pasted.

Since there is no way to batch-replace classes, removing these "galleryImage2" classes from all images and then cleaning up the project is really bothersome.

My suggestion: let the user decide what to do.

Upon pasting, a dialog should ask the user what do next:

1. Default - Create copies of every class that already exist so there is no conflict

2. Replace classes on current project with classes being pasted if they have the same name

3. Keep classes on current project, applying them to objects being pasted if they have the same name.

  • Fernando Lins
  • Nov 25 2018
  • Reviewed
  • Kevin Handy commented
    24 Jun 09:26pm

    This has to be considered again. It's enough of a hassle that I can't even really use Webflow made templated to start from. Example: The Basic Webflow Ecommerce template. It's a great place to jump off from when building out some of the Ecom pages. Like the products page.


    But, when copying them over to my actual, already in development project, Button and Section get renamed. Not a huge problem, just rename them, right? Well, they also have Combo Classes on them that have styling. Now down the rabbit hole we go.


    Copy and replace is the wrong answer for a lot of cases. I pose that copy and paste with renaming is also wrong for a lot of cases.


    This is why the 3 options (as it currently works, redefining classes with incoming, or using existing classes) is the right call. You can look towards InDesign for a great example of how this import option can be a life saver.

  • ORyan McEntire commented
    11 Jun, 2021 11:45am

    Agreed.
    It would be great if when pasting Webflow would ask if I wanted to rename conflicting styles or ignore those conflicting styles and only add new ones.

  • Yogesh Simpson commented
    19 Apr, 2019 07:12pm

    This is also a an issue when copying and pasting across pages within the same site.

  • +10