Feature Request: Save Styles to Classes In-Order to Create Reusable Components #23916
gervy28
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.
Prerequisites
What problem is your feature request going to solve? Please describe.
My biggest challenge with Elementor (and most WP builders in general) is that if I want to make one change to as style on a certain element that I'm reusing throughout my entire site, I have to edit it in every place where it exists.
Describe the solution you'd like
It seems to me that you could create a special table or post type that holds a class or id and associated style information for reusable blocks. Then you could add those styles by assigning an ID or class. It might add some complexity to the editing experience, but it could be an optional feature and would be extraordinarily useful for advanced users or users who want a more reusable experience.
Describe alternatives you've considered
Global styles are okay, but they fail when you have to combine multiple elements or need multiple variations of things like buttons.
Global Elements, are close but don't work because they don't allow you to update content independently.
Templates are close, but again you can't actually change content.
Themes are very close, but don't give enough control over individual blocks.
Additional context
Essentially, style and content need to be broken up, and a separate table needs to hold that style information. It might add some query speed issues, but I think the users who would appreciate this type of solution could find solutions.
All reactions