This is killlingggggggg me
Same thing 3 hours deleting classes because someone else did the right thing to copy paste.... but it re-created all new classes and interactions that were set to class are not functioning. What a serious pain.
I ran into the same issue.
By disabling the relume extension it fixed it and now I'm no longer seeing the "cross-site" message when pasting within the same site.
I saw this issue also getting mentioned on the Webflow forum:
https://discourse.webflow.com/t/cross-site-pasting-error-eventhough-i-copy-paste-within-same-website/262880/4
just to check, is this bug under your radar? Thanks!
Hi Derrick, Richard & Diego,
I'm sorry about the class duplication issue with same-site pastes.
We have released a fix to this issue. It is included in version 37 and above of the chrome extension.
You can check the version by visiting chrome://extensions
then clicking "Details" next to the Relume extension.
once this starts to happen, it won't stop until you've rid your project of the duplicates. The things that Sam were asking about is trying to find the root cause of the duplication in the first place.
How long ago was this project made and how long ago was the style guide cloned? Can you provide a read-only link?
The best way to rid your project of duplicate classes is to use the Styles Manager (G on your keyboard) - search for the duplicated class - and use the icon that looks like a "list" - this will take you right to the page and the div where this class is being used.
In the style selector, delete the duplicated class and add the correct class. Depending on the class or if there is combo classes, you can just click on the duplicate class, copy its name, delete it, paste, delete the number, and hit enter.
If you hover over a class in the styles manager and the class no longer has this "list" icon - then you can use the styles cleanup tool to bulk delete unused classes.
Its best to spot this early and to stop pasting in new components until it has stopped duplicating. Sometimes, you can hit cmd + z to undo the paste, and try again. Other times you can try disabling class sync, save, reload the page, enable it again, save, reload - and it'll work again. 98% of the time it works great for me.
Its obviously not a straight forward mechanism - lots of variables and factors to look at.
But yeah, in summary, just because you are on the latest extension and everything else - your project is essentially infected and you need to remove the duplicate classes.