Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Classic Block: Image alignment is not preserved #86379

Open zdenys opened 8 months ago

zdenys commented 8 months ago

Quick summary

Image alignment within the Classic block is not preserved on the frontend after correctly setting it in the editor.

https://github.com/Automattic/wp-calypso/assets/39308239/ceb458dd-346e-488d-b7ef-08c7a26bee83

Steps to reproduce

  1. Add an image
  2. Add some text
  3. Align the image to the right or center
  4. Save changes and preview in the new tab

What you expected to happen

Image alignment to be the chosen one

What actually happened

Image remains left-aligned

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Simple

Logs or notes

Themes tested so far: Twenty Twenty Four (TT4), Twenty Twenty Three (TT3)

zdenys commented 8 months ago

7436815-zd-a8c

github-actions[bot] commented 8 months ago

Support References

This comment is automatically generated. Please do not edit it.

filipanoscampos commented 8 months ago

📌 REPRODUCTION RESULTS

– Tested on Simple: Replicated – Tested on Atomic: Replicated

📌 FINDINGS AND VIDEOInclude

In both Atomic and Simple, alignment set for the images via the Classic Block is ignored.

Simple:

https://github.com/Automattic/wp-calypso/assets/2540430/889a2223-0638-44f2-81bc-90c8a0fdb2af

Atomic:

https://github.com/Automattic/wp-calypso/assets/2540430/faf8edfc-12e6-4bfb-8278-18983f5e630c

📌 ACTIONS Report kept.

lsl commented 1 month ago

Reprioritizing to low, doesn't seem to have a lot of user impact in terms of reports.