10up/safe-svg

Class not applied to Safe SVG Icon block in front end

ooksanen opened this issue · 0 comments

Describe the bug

Custom classes applied are not saved for front end in Safe SVG Icon block. Works properly in editor.

Steps to Reproduce

  1. Insert Safe SVG Icon block
  2. Apply a custom class to block
  3. Save page / post
  4. In front end no custom classes are present

Screenshots, screen recording, code snippet

Editor, block has .large-text-center correctly applied:

image

Front end, custom class is not present:

image

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct