{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "fse-blocks/post-button",
  "version": "1.0.0",
  "title": "Post Button",
  "category": "fse-blocks",
  "icon": "smiley",
  "description": "Create posts button for any posts type",
  "example": {},
  "supports": {
    "html": false,
    "splitting": true,
    "color": {
      "background": true,
      "link": false,
      "text": true,
      "gradients": true,
      "enableContrastChecker": true
    },
    "spacing": {
      "padding": true
    }
  },
  "attributes": {
    "buttonText": {
      "type": "string",
      "default": ""
    },
    "postType": {
      "type": "string",
      "default": ""
    },
    "posturl": {
      "type": "string",
      "default": ""
    },
    "linkTarget": {
      "type": "boolean",
      "default": false
    },
    "style": {
      "type": "object",
      "default": {
        "color": {
          "background": "#000",
          "text": "#fff"
        },
        "spacing": {
          "padding": {
            "top": "10px",
            "bottom": "10px",
            "left": "20px",
            "right": "20px"
          }
        }
      }
    }
  },
  "textdomain": "fse-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "parent": [
    "fse-blocks/post-buttons"
  ]
}