{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "zior/meta-field",
  "title": "Meta Field",
  "category": "widgets",
  "description": "Display postmeta/options value.",
  "keywords": [
    "meta",
    "field",
    "option"
  ],
  "textdomain": "default",
  "attributes": {
    "textAlign": {
      "type": "string"
    },
    "content": {
      "type": "rich-text",
      "source": "rich-text",
      "selector": "h1,h2,h3,h4,h5,h6,p,div,span",
      "role": "content"
    },
    "metaValue": {
      "type": "string"
    },
    "placeholder": {
      "type": "string"
    },
		"tagName": {
			"type": "string",
			"enum": ["h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "span"],
			"default": "h2"
		},
    "postType": {
      "type": "string",
      "default": "page"
    },
    "metaKey": {
      "type": "string",
      "default": ""
    },
    "metaFieldType": {
      "type": "string",
      "default": "post_meta"
    },
    "fieldProvider": {
      "type": "string",
      "default": ""
    },
    "showMetaSelector": {
      "type": "boolean",
      "default": true
    },
    "returnFormat": {
      "type": "string",
      "default": ""
    },
    "showReturnFormat": {
      "type": "boolean",
      "default": false
    },
    "dataIndex": {
      "type": "integer",
      "default": 0
    },
    "showDataIndex": {
      "type": "boolean",
      "default": false
    },
    "helpText": {
      "type": "string",
      "default": ""
    },
    "showTimeControls": {
      "type": "boolean",
      "default": false
    },
    "timeFormat": {
      "type": "string",
      "default": "g:i a"
    },
    "outputFormat": {
      "type": "string",
      "default": "summarized"
    },
    "saveContent": {
      "type": "boolean",
      "default": true
    },
    "showDateControls": {
      "type": "boolean",
      "default": false
    },
    "dateFormat": {
      "type": "string",
      "default": "F d, Y"
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "className": true,
    "splitting": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "color": {
      "gradients": true,
      "link": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "margin": false,
        "padding": false
      }
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalWritingMode": true,
      "fitText": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    },
    "__unstablePasteTextInline": true,
    "__experimentalSlashInserter": true,
    "interactivity": {
      "clientNavigation": true
    }
  },
	"style": "zior-wp-blocks-view",
	"editorStyle": "zior-wp-blocks-editor",
	"editorScript": "zior-wp-blocks-editor"
}