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