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

Alignment and padding controls for all blocks #332

Open
vsalvino opened this issue Jul 14, 2020 · 1 comment · May be fixed by #346
Open

Alignment and padding controls for all blocks #332

vsalvino opened this issue Jul 14, 2020 · 1 comment · May be fixed by #346
Labels
Type: Enhancement New feature or functionality change

Comments

@vsalvino
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Editors frequently need the ability to easily center align or adjust padding of content without using CSS. Considering this is a core part of most word processors and rich text editors (excluding wagtail), this is a big part missing from the editing experience.

Describe the solution you'd like

In the common block advanced settings, two toggles, one for alignment, and one for padding. These would work by simply adding the respective bootstrap classes based on user selection, similar to other advanced settings (e.g. column breakpoints).

Describe alternatives you've considered

The only real alternative is to add this only within rich text fields, or to add this to select blocks outside of advanced settings. However considering the ubiquity of alignment and padding, it makes sense to be added globally to all blocks.

Additional context

The default values of each should be unset, so as not to effect existing sites or default/global styles.

@vsalvino vsalvino added the Type: Enhancement New feature or functionality change label Jul 14, 2020
@vsalvino vsalvino added this to the 0.19.0 milestone Jul 14, 2020
@vsalvino
Copy link
Contributor Author

vsalvino commented Aug 3, 2020

Moving this back to the backlog... it will end up being a bigger change and I'd rather get 0.19 out in a timely fashion to keep up with Wagtail updates.

@vsalvino vsalvino removed this from the 0.19.0 milestone Aug 3, 2020
@vsalvino vsalvino linked a pull request Aug 3, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or functionality change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant