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/forms/block.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/src/forms/block.json b/src/forms/block.json
new file mode 100644
index 0000000..f790e24
--- /dev/null
+++ b/src/forms/block.json
@@ -0,0 +1,47 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "jvb/forms",
+ "title": "Contact Forms",
+ "category": "jvb",
+ "icon": "align-center",
+ "description": "Our custom contact forms",
+ "keywords": [ "form", "forms", "contact" ],
+ "version": "1.0.0",
+ "textdomain": "jvb",
+ "attributes": {
+ "formType": {
+ "type": "string",
+ "default": ""
+ },
+ "showLabels": {
+ "type": "boolean",
+ "default": true
+ },
+ "customEmailTo": {
+ "type": "string",
+ "default": ""
+ }
+ },
+ "supports": {
+ "html": false,
+ "align": ["wide", "full"]
+ },
+ "selectors": {
+ "root": ".jvb-form-block"
+ },
+ "styles": [
+ { "name": "default", "label": "Default", "isDefault": true }
+ ],
+ "example": {
+ "attributes": {
+ "formType": "contact",
+ "showLabels": true
+ }
+ },
+ "render": "file:./render.php",
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.scss",
+ "style": "file:./style-index.css",
+ "viewScript": "file:./view.js"
+}
--
Gitblit v1.10.0