Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename class within the editor #1755

Open
andresbrx opened this issue Feb 4, 2025 · 1 comment
Open

Rename class within the editor #1755

andresbrx opened this issue Feb 4, 2025 · 1 comment
Labels
feature Features, refactoring, enhancements, improvements

Comments

@andresbrx
Copy link

Description

It would be really nice and practical to be able to rename a class while I'm building a page.

References:

Image


@andresbrx andresbrx added the triage Awaiting review label Feb 4, 2025
@iansvo iansvo added feature Features, refactoring, enhancements, improvements and removed triage Awaiting review labels Feb 7, 2025
@iansvo iansvo added this to the 2.1.0 milestone Feb 7, 2025
@diggeddy diggeddy removed this from the 2.1.0 milestone Feb 17, 2025
@diggeddy
Copy link
Collaborator

Under Review
Renaming classes requires careful consideration, which is why we keep it in the admin settings out of harms way.
The issue; renaming the class will break its style attachment for any block using the old class.

To fix that would require manually updating the classes on every block or searching and replacing them in the database.
Neither of which anyone wants to be doing.

Perhaps ; if the class has no styles attached it should be allowed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features, refactoring, enhancements, improvements
Projects
None yet
Development

No branches or pull requests

3 participants