From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
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