{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "sd/input", "title": "Text", "description": "Displays a SureDonation Text Field", "category": "suredonation", "keywords": [ "text", "input", "field", "name" ], "textdomain": "suredonation", "supports": { "reusable": false, "html": false }, "example": { "attributes": { "preview": true } }, "attributes": { "preview": { "type": "boolean", "default": false }, "block_id": { "type": "string" }, "defaultValue": { "type": "string", "default": "" }, "required": { "type": "boolean", "default": false }, "placeholder": { "type": "string", "default": "" }, "fieldWidth": { "type": "number", "default": 100 }, "label": { "type": "string", "default": "Text Field" }, "help": { "type": "string", "default": "" }, "errorMsg": { "type": "string", "default": "" }, "maxLength": { "type": "number", "default": 100 }, "formId": { "type": "number", "default": 0 }, "slug": { "type": "string", "default": "" }, "className": { "type": "string", "default": "" }, "customClasses": { "type": "string", "default": "" } } }