WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#45782 new defect (bug)

Images in blocks auto left align when centre align selected

Reported by: lifeadventurers Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: Editor Keywords:
Focuses: Cc:

Description

When using Gutenberg block editor, images are automatically left aligning in preview and publish mode although in edit mode images are centre aligned. Confirmed in CSS code too.

Attachments (2)

Code information.JPG (95.6 KB) - added by lifeadventurers 2 years ago.
CSS code example of image alignment issue
Preview.JPG (114.7 KB) - added by lifeadventurers 2 years ago.
Preview of published article with conflicting with CSS code information

Download all attachments as: .zip

Change History (5)

@lifeadventurers
2 years ago

CSS code example of image alignment issue

@lifeadventurers
2 years ago

Preview of published article with conflicting with CSS code information

#1 follow-up: @joyously
2 years ago

The preview is controlled by the theme. What theme was this test done with?

#2 in reply to: ↑ 1 @lifeadventurers
2 years ago

Current Theme: Cubic
Web Browsers: iPad, iPhone, Chrome, Safari (desktop) and IE.
Hope this is useful.

Replying to joyously:

The preview is controlled by the theme. What theme was this test done with?

#3 @SergeyBiryukov
2 years ago

  • Component changed from General to Editor
Note: See TracTickets for help on using tickets.