When copying sections of block from one site to another that have GB global styles (classes), the classes settings don't carry with it.
Currently the only way to copy the classes are:
Add the class manually and manually map all the styles
Export the entire list of classes using the built in WordPress post import/export feature
Steps for testing
Create a new class with styles on one site.
Copy the block
Paste block in another site
Suggested solution:
Hook into the WordPress copy block function and insert the class styles into the copied information and read the styles and map to new classes when pasted into another site
Allow us to select styles in Global styles menu and export and import from that page instead of with WordPress migration tool.
Description
When copying sections of block from one site to another that have GB global styles (classes), the classes settings don't carry with it.
Currently the only way to copy the classes are:
Steps for testing
Suggested solution: