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

Paragraph: "Justify" belongs with block-wide text alignment options #37323

Closed
mcsf opened this issue Nov 5, 2019 · 2 comments
Closed

Paragraph: "Justify" belongs with block-wide text alignment options #37323

mcsf opened this issue Nov 5, 2019 · 2 comments
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Goal] Gutenberg Working towards full integration with Gutenberg [Size] XS Tiny sized issue [Type] Enhancement

Comments

@mcsf
Copy link
Member

mcsf commented Nov 5, 2019

Steps to reproduce

  1. Starting a new post with the Block Editor.
  2. Add a Paragraph block, type some text in.
  3. Move the cursor to the block's toolbar.
  4. Open the rich-text formats dropdown menu (Fig. 1) by clicking on the chevron next to the Link icon.
  5. Notice the options listed and how pertain to inline-text-level formatting: underlining, inline objects, etc.
  6. Try selecting a fragment of text from the Paragraph block and applying one of these.
  7. Look at the serialised markup for the block and how the chosen formatting is applied inside the paragraph tag (<p>).
  8. Go back to the dropdown menu and notice the odd one: Justify. Try applying it.
  9. Look at the serialised markup again, notice that text justification is a block-wide setting.

What I expected

Justify should be an option in the same dropdown as Align Text Left, Centre, Right (Fig. 2). At the very least, until integration constraints are solved, it could live as button next to that dropdown.

What happened instead

Justify is wrongly categorised as an inline format.

Screenshot / Video

Fig. 1

Captura de ecrã 2019-11-05, às 11 42 00


Fig. 2

Captura de ecrã 2019-11-05, às 11 42 07

@mcsf mcsf added the [Goal] Gutenberg Working towards full integration with Gutenberg label Nov 5, 2019
@cathymcbride cathymcbride added [Size] XS Tiny sized issue [Feature] Post/Page Editor The editor for editing posts and pages. labels Sep 28, 2020
@worldomonation
Copy link
Contributor

Hi! I'm performing triage on older bugs as part of Quality Squad's efforts to cut down on backlog issue counts.

This issue remains reproducible as of
Gutenberg: v10.2.0
CoBlocks: 2.5.3
Editing Toolkit: 3.2465

While there has not been any activity for half a year, I suggest keeping this issue open as it does lead to a slightly confusing UX for users.

@danielbachhuber
Copy link
Contributor

Closing in favor of #73455

@danielbachhuber danielbachhuber closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Goal] Gutenberg Working towards full integration with Gutenberg [Size] XS Tiny sized issue [Type] Enhancement
Projects
None yet
Development

No branches or pull requests

5 participants