import classnames from 'classnames/dedupe'; import { InspectorControls, useBlockProps } from '@wordpress/block-editor'; import { PanelBody, TextControl } from '@wordpress/components'; import { applyFilters } from '@wordpress/hooks'; import { FieldDefaultSettings, getFieldAttributes, } from '../../field-attributes'; import FieldDescription from '../../field-description'; import FieldLabel from '../../field-label'; /** * Block Edit Class. * * @param props */ export default function BlockEdit(props) { const { attributes } = props; let { className = '' } = props; className = classnames( 'ghostkit-form-field ghostkit-form-field-text', className ); className = applyFilters('ghostkit.editor.className', className, props); const blockProps = useBlockProps({ className }); return ( <>
); }