{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "alpha-blocks/alpha-text",
  "title": "Alpha Text",
  "category": "alpha-blocks",
  "icon": "editor-textcolor",
  "description": "A customizable text block for Alpha Blocks, similar to heading.",
  "version": "1.0.0",
  "textdomain": "alpha-blocks",
  "editorScript": "file:./index.js",
  "style": "alpha-block-tailwind-style",
  "attributes": {
    "blockID": {
      "type": "string"
    },
    "compiledCss": {
      "type": "string"
    },
    "initialOpen": {
      "type": "array",
      "default": [
        "general"
      ]
    },
    "content": {
      "type": "string",
      "default": "Please enter your text or message here."
    },
    "level": {
      "type": "string",
      "default": "p",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorComponent": "InspectorSelectRow",
        "inspectorLabel": "Tag",
        "options": [
          {
            "label": "H1",
            "value": "h1"
          },
          {
            "label": "H2",
            "value": "h2"
          },
          {
            "label": "H3",
            "value": "h3"
          },
          {
            "label": "H4",
            "value": "h4"
          },
          {
            "label": "H5",
            "value": "h5"
          },
          {
            "label": "H6",
            "value": "h6"
          },
          {
            "label": "P",
            "value": "p"
          },
          {
            "label": "Span",
            "value": "span"
          },
          {
            "label": "Div",
            "value": "div"
          },
          {
            "label": "Blockquote",
            "value": "blockquote"
          },
          {
            "label": "Pre",
            "value": "pre"
          },
          {
            "label": "Code",
            "value": "code"
          },
          {
            "label": "Strong",
            "value": "strong"
          },
          {
            "label": "Em",
            "value": "em"
          },
          {
            "label": "Ul",
            "value": "ul"
          },
          {
            "label": "Ol",
            "value": "ol"
          },
          {
            "label": "Li",
            "value": "li"
          },
          {
            "label": "Small",
            "value": "small"
          },
          {
            "label": "Mark",
            "value": "mark"
          },
          {
            "label": "Cite",
            "value": "cite"
          }
        ]
      }
    },
    "align": {
      "type": "string",
      "default": "center",
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorComponent": "InspectorSelectButton",
        "inspectorLabel": "Text Alignment",
        "options": [
          {
            "label": "Left",
            "value": "left"
          },
          {
            "label": "Center",
            "value": "center"
          },
          {
            "label": "Right",
            "value": "right"
          }
        ]
      }
    },
    "color": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "general",
        "inspectorComponent": "InspectorColorSelect",
        "inspectorLabel": "Text Color"
      }
    },
    "typography": {
      "type": "object",
      "default": {
        "fontFamily": "Poppins",
        "fontSize": {
          "desktop": {
            "val": 14,
            "unit": "px"
          }
        },
        "fontWeight": "700",
        "fontStyle": false,
        "fontTransform": false,
        "fontDecoration": "default",
        "fontLineHeight": {
          "desktop": {
            "unit": "px",
            "val": 20
          }
        },
        "fontLetterSpacing": {
          "desktop": {
            "unit": "px",
            "val": 0
          }
        }
      },
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "typography",
        "inspectorComponent": "InspectorTypographyControlTab",
        "inspectorLabel": "Typography"
      }
    },
    "backgroundColor": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "targetTab": "styles",
        "targetAccordionTab": "background",
        "inspectorComponent": "InspectorBackgroundControlTab",
        "inspectorLabel": "Background"
      }
    },
    "containerBorder": {
      "type": "object",
      "default": {
        "width": "0px",
        "style": "solid",
        "color": "#000000"
      },
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Border",
        "inspectorComponent": "InspectorBorderBox",
        "inspectorLabel": "Border"
      }
    },
    "margin": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Spacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Margin"
      }
    },
    "padding": {
      "type": "object",
      "default": {},
      "inspectorController": {
        "targetTab": "general",
        "targetAccordionTab": "Spacing",
        "inspectorComponent": "InspectorFourDimension",
        "inspectorLabel": "Padding"
      }
    }
  },
  "supports": {
    "align": true,
    "html": false,
    "customClassName": false
  }
}