From 235ce5716edc2f7cbe80fdccf26eac7269587839 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 08 Jun 2026 04:38:18 +0000
Subject: [PATCH] =FavouritesManager.php and FavouritesRoutes.php fixes. Moving all logic to FavouritesManager.php. Still some left to do
---
src/faq/block.json | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/faq/block.json b/src/faq/block.json
new file mode 100644
index 0000000..f88d33a
--- /dev/null
+++ b/src/faq/block.json
@@ -0,0 +1,34 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "jvb/faq",
+ "title": "FAQ Block",
+ "category": "jvb",
+ "icon": "info",
+ "description": "Display FAQs organized by sections with customizable ordering",
+ "keywords": ["faq", "questions", "help"],
+ "version": "1.0.0",
+ "textdomain": "jvb",
+ "attributes": {
+ "sectionOrder": {
+ "type": "array",
+ "default": []
+ },
+ "showSectionTitles": {
+ "type": "boolean",
+ "default": true
+ },
+ "collapseByDefault": {
+ "type": "boolean",
+ "default": false
+ }
+ },
+ "supports": {
+ "align": ["wide", "full"],
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.css",
+ "style": "file:./style-index.css",
+ "viewScript": "file:./view.js"
+}
--
Gitblit v1.10.0