📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 07:33:34
📂
/ (Root)
/
home
/
xeqi7597
/
cds.claireduwig.com
/
wp-content
/
plugins
/
generateblocks
/
src
/
blocks
/
shape
📍 /home/xeqi7597/cds.claireduwig.com/wp-content/plugins/generateblocks/src/blocks/shape
🔄 Refresh
✏️
Editing: save.js
Writable
/** * WordPress dependencies */ import { useBlockProps } from '@wordpress/block-editor'; import sanitizeSVG from '../../utils/sanitize-svg'; import { getBlockClasses } from '@utils/getBlockClasses'; export function Save( { attributes } ) { const { html, htmlAttributes = {}, } = attributes; const classNames = getBlockClasses( 'gb-shape', attributes, true ); const blockProps = useBlockProps.save( { className: classNames.join( ' ' ).trim(), ...htmlAttributes, } ); return ( <span { ...blockProps } dangerouslySetInnerHTML={ { __html: sanitizeSVG( html ) } } /> ); }
💾 Save Changes
❌ Cancel