Jake Vanderwerf
2026-03-03 772462eeca3002a1d52508aeba485aab2b4742ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * WordPress dependencies
 */
import { __ } from '@wordpress/i18n';
import { useBlockProps, InspectorControls } from '@wordpress/block-editor';
import { SelectControl, ToggleControl, PanelBody } from '@wordpress/components';
 
/**
 * Styles
 */
import './editor.scss';
 
/**
 * Edit function for Summary Block
 */
export default function Edit({ attributes, setAttributes }) {
    const blockProps = useBlockProps();
 
    return (
        <div {...blockProps}>
            <div className="jvb-summary-preview">
                <h3>{__('Summary', 'jvb')}</h3>
                <p className="jvb-list-preview-note">
                    {__('This will inherit the current query to build the information from our custom meta on the front end.', 'jvb')}
                </p>
            </div>
        </div>
    );
}