WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#49819 closed defect (bug) (invalid)

WordPress 5.4 - paragraphs not aligned to the left

Reported by: chrislab Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4
Component: Editor Keywords: has-screenshots reporter-feedback
Focuses: administration Cc:

Description

Hi,
After upgrading wordpress to 5.4 post editor does not align paragraphs to the left side (title is aligned to the left, but paragraphs are indented too far. How can I fix it? Or where to find settings?

Attachments (2)

Screenshot 2020-04-05 at 13.05.13.png (261.1 KB) - added by chrislab 6 months ago.
Bad alignment of paragraph in WP 5.4 Post Editor
Edit Post.png (101.4 KB) - added by mukesh27 6 months ago.

Download all attachments as: .zip

Change History (6)

#1 @mukesh27
6 months ago

  • Component changed from General to Editor
  • Keywords reporter-feedback needs-screenshots added

Hi @chrislab,

Welcome to WordPress Trac! Thanks for the ticket.

Can you please tell us steps to replicate the same issue from our end and if possible send the screenshots for more information.

@chrislab
6 months ago

Bad alignment of paragraph in WP 5.4 Post Editor

#2 @mukesh27
6 months ago

  • Keywords has-screenshots added; needs-screenshots removed

@chrislab It seems you have used a different theme default WordPress theme. Check the Twenty Twenty theme edit post screenshot.

If you have used any other theme then default theme then please contact to theme author as it is not a WordPress issue.

@mukesh27
6 months ago

#3 @chrislab
6 months ago

it's exactly same problem with default theme - on your screenshot title is centered (but block aligned to the left) and paragraph is not aligned identical to the title - it's indented more to the right - different than in pre-5.4 wordpress. I was checking my site without plugins and with default theme - it looks like a bug. Theme doesn't matter

#4 @Otto42
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

The title and post content do not have to be aligned left. This is up to the theme and its own choices in adding editor styling.

In Twenty Twenty, for example, the title is centered, because on the actual page when viewing the post, the title is centered there.

It is up to each theme to add styling to the editor to make it look as close to the output on the page as it can. This may mean that the title is wider than the content, or that the alignment isn't straight edge on the title and the content. That choice is up to the theme.

Note: See TracTickets for help on using tickets.