WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 13 months 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:
PR Number:

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 13 months ago.
CSS code example of image alignment issue
Preview.JPG (114.7 KB) - added by lifeadventurers 13 months ago.
Preview of published article with conflicting with CSS code information

Download all attachments as: .zip

Change History (5)

@lifeadventurers
13 months ago

CSS code example of image alignment issue

@lifeadventurers
13 months ago

Preview of published article with conflicting with CSS code information

#1 follow-up: @joyously
13 months ago

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

#2 in reply to: ↑ 1 @lifeadventurers
13 months 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
13 months ago

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