{
  "apiVersion": 2,
  "name": "cblocks/coder-block",
  "title": "Code Editor",
  "icon": "editor-code",
  "category": "text",
  "description": "A simple way to share and evaluate code with Gutenberg.",
  "textdomain": "coder-block",
  "version": "1.1.0",
  "keywords": ["php", "code", "editor", "javascript", "css", "js", "html", "snippet"],
  "attributes": {
    "mode": {
      "type": "string",
      "default": "php"
    },
    "theme": {
      "type": "string",
      "default": "twilight"
    },
    "fontsize": {
      "type": "string",
      "default": "14"
    },
    "lines": {
      "type": "string",
      "default": "Infinity"
    },
    "code": {
      "type": "string",
      "source": "text",
      "selector": "pre",
      "default": "<?php echo 'hello world!'; ?>"
    },
    "showLinesNumber": {
      "type": "boolean",
      "default": true
    },
    "autocompletion": {
      "type": "boolean",
      "default": true
    },
    "evaluate": {
      "type": "boolean",
      "default": false
    },
    "showSource": {
      "type": "boolean",
      "default": true
    },
    "doShortCodes": {
      "type": "boolean",
      "default": false
    },
    "useACE": {
      "type": "boolean",
      "default": true
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "className": true,
    "customClassName": true,
    "align": ["wide", "full"]
  },
  "example": {
    "attributes": {
      "code": "<?php\n// Example code\necho 'Hello World!';\n?>",
      "mode": "php",
      "theme": "twilight"
    }
  },
  "editorStyle": "coder-block-editor-style",
  "editorScript": "coder-block-editor-script"
}