diff --git a/includes/blocks/safe-svg/edit.js b/includes/blocks/safe-svg/edit.js index 1d66d0bc..ac224c9c 100644 --- a/includes/blocks/safe-svg/edit.js +++ b/includes/blocks/safe-svg/edit.js @@ -48,7 +48,7 @@ const SafeSvgBlockEdit = ( props ) => { } = attributes; const blockProps = useBlockProps( { - className:` safe-svg-cover`, + className:` wp-block-safe-svg-svg-icon safe-svg-cover`, style: { textAlign: alignment, } diff --git a/includes/blocks/safe-svg/register.php b/includes/blocks/safe-svg/register.php index 4e625aa1..b54895c5 100644 --- a/includes/blocks/safe-svg/register.php +++ b/includes/blocks/safe-svg/register.php @@ -67,7 +67,7 @@ function render_block_callback( $attributes ) { return apply_filters( 'safe_svg_inline_markup', sprintf( - '