The class for post title on the Editor is in the wrong element (featured image) #60692
Labels
[Block] Latest Posts
Affects the Latest Posts Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
This issue is related to this one. In there, the class
wp-block-latest-posts__post-title
was added to the post title.The problem is, on the Editor, it was added to the featured image instead of the post title.

The HTML on the Editor looks like this:
That's why the styles I've defined for post title to apply on both (frontend and Editor), in the Editor are applying to the featured image instead of the post title.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Tested with:
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: