From d7e7d248cbe41cd7a9ef9c2fb022b6c4831f99a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 31 May 2026 15:22:56 +0000
Subject: [PATCH] =jakevan complete
---
src/summary/edit.js | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/summary/edit.js b/src/summary/edit.js
new file mode 100644
index 0000000..6741773
--- /dev/null
+++ b/src/summary/edit.js
@@ -0,0 +1,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>
+ );
+}
--
Gitblit v1.10.0