Preserve Global Class Styles during Cross-Site Copy-Paste (Editor v4) #34429
ayoubkhan558
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the Problem
When copying sections between sites in v4, Global Classes lose their styling. The editor copies the name of the class but not the CSS properties stored in the source site's Class Manager. This results in "naked" or unstyled elements on the destination site, forcing manual style recreation.
Propose a Solution
Include the CSS property objects for all attached Global Classes in the copy-paste JSON.
Conflict Resolution: If a class name exists but the styles differ, provide a simple toggle to "Keep Destination" or "Overwrite from Source."
Additional Context
As Elementor v4 pushes a "Class-First" workflow, design portability is essential. Currently, the "Paste from other site" feature only works for legacy inline styling, making the new Class Manager a bottleneck for users who build across multiple environments or staging sites
Agreement
All reactions