WordPress.org

Make WordPress Core

Opened 5 days ago

Last modified 4 days ago

#53154 new defect (bug)

Image in 'Media & Text' block not affected by 'Additional CSS class(es)'

Reported by: danieldau Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7.1
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

After the update, styles added to the image's 'Additional CSS class(es)' on the 'Media & Text' block no longer work.

Change History (1)

#1 @desrosj
4 days ago

  • Component changed from General to Editor
  • Focuses ui removed
  • Keywords reporter-feedback added

Hi @danieldau,

Welcome to Trac!

Can you provide a little more detail? Here are some questions I have that could help narrow down the issue:

  • Which theme are you using?
  • If the theme is not a default theme, can you reproduce the issue using one of the Twenty themes? If so, which one?
  • Are the classes saving when you add them?
  • If they save, are they not being output in the class attribute on the front end? Back end? Both?
  • Are the classes you add custom?
  • Did they work before?
Note: See TracTickets for help on using tickets.