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

Styling for alignment option #64

Open
collimarco opened this issue May 11, 2024 · 1 comment
Open

Styling for alignment option #64

collimarco opened this issue May 11, 2024 · 1 comment

Comments

@collimarco
Copy link

From readme:

It takes no effect while editing, but saved the «alignment» param.

Why this choice?

  • It seems really strange
  • Confusing for the end-user (who thinks that something is not working)
  • Inconsistent with the other blocks (e.g. if you change the "heading" block -> level, it also changes it visually... so why not change the style of "quote" block when you change its alignment?)

I think that this option should be improved or removed.

@collimarco
Copy link
Author

If there was at least a class added / removed when the alignment changes (e.g. .text-left, .text-center), then people could add some custom style for alignment... However when I tried your demo, I don't see any change in the markup when the alignment changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant