{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "cimo/figure",
  "version": "0.1.0",
  "title": "Image légendée CiMo",
  "category": "cimo",
  "icon": "format-image",
  "description": "L'image habillée des pages d'article : coins biseautés réglables sur la photo ET sur sa légende, séparément. Elle peut flotter à gauche ou à droite du texte.",
  "keywords": [ "image", "photo", "légende", "biseau", "croppé", "article" ],
  "textdomain": "citizenmotion2",
  "attributes": {
    "mediaId": { "type": "number", "default": 0 },
    "mediaUrl": { "type": "string", "default": "" },
    "mediaAlt": { "type": "string", "default": "" },
    "ratio": { "type": "string", "default": "4 / 5" },
    "float": { "type": "string", "default": "none" },
    "width": { "type": "string", "default": "33%" },
    "caption": { "type": "string", "default": "" },
    "captionBg": { "type": "string", "default": "brand-teal" },
    "captionColor": { "type": "string", "default": "white" },
    "capCutDepth": { "type": "number", "default": 28 },
    "capCutTL": { "type": "boolean", "default": false },
    "capCutTR": { "type": "boolean", "default": true },
    "capCutBR": { "type": "boolean", "default": false },
    "capCutBL": { "type": "boolean", "default": false },
    "cutDepth": { "type": "number", "default": 28 },
    "cutTL": { "type": "boolean", "default": false },
    "cutTR": { "type": "boolean", "default": false },
    "cutBR": { "type": "boolean", "default": true },
    "cutBL": { "type": "boolean", "default": false },
    "borderWidth": { "type": "number", "default": 0 }
  },
  "supports": {
    "html": false,
    "reusable": false,
    "anchor": true,
    "spacing": {
      "margin": true
    }
  },
  "editorScript": "file:./index.js",
  "render": "file:./render.php"
}
