| @@ -1,62 +1,30 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | - "apiVersion": 3, | |
| 3 | + "apiVersion": 2, | |
| 4 | 4 | "name": "kevinbatdorf/code-block-pro", |
| 5 | - "version": "1.13.0", | |
| 6 | - "title": "Code Block Pro - Beautiful syntax highlighting", | |
| 5 | + "version": "1.2.0", | |
| 6 | + "title": "Code Block Pro", | |
| 7 | 7 | "category": "common", |
| 8 | - "description": "Code highlighting powered by the VS Code engine. No overhead.", | |
| 8 | + "description": "Code highlighting powered by the VS Code engine", | |
| 9 | 9 | "attributes": { |
| 10 | 10 | "code": { "type": "string" }, |
| 11 | 11 | "codeHTML": { "type": "string" }, |
| 12 | 12 | "language": { "type": "string" }, |
| 13 | 13 | "theme": { "type": "string" }, |
| 14 | - "align": { "type": "string" }, | |
| 14 | + "align": { "type": "string", "default": "none" }, | |
| 15 | 15 | "bgColor": { "type": "string", "default": "#282a37" }, |
| 16 | 16 | "textColor": { "type": "string", "default": "#f8f8f2" }, |
| 17 | - "fontSize": { "type": "string" }, | |
| 18 | - "fontFamily": { "type": "string" }, | |
| 19 | - "lineHeight": { "type": "string" }, | |
| 20 | 17 | "lineNumbers": { "type": "boolean" }, |
| 21 | - "clampFonts": { "type": "boolean" }, | |
| 22 | - "editorHeight": { "type": "string" }, | |
| 23 | - "headerType": { "type": "string" }, | |
| 24 | - "footerType": { "type": "string" }, | |
| 25 | - "headerString": { "type": "string" }, | |
| 26 | - "disablePadding": { "type": "boolean" }, | |
| 27 | - "footerString": { "type": "string" }, | |
| 28 | - "footerLink": { "type": "string" }, | |
| 29 | - "enableMaxHeight": { "type": "boolean" }, | |
| 30 | - "seeMoreType": { "type": "string" }, | |
| 31 | - "seeMoreString": { "type": "string" }, | |
| 32 | - "seeMoreAfterLine": { "type": "string" }, | |
| 33 | - "seeMoreTransition": { "type": "boolean" }, | |
| 34 | - "seeMoreCollapse": { "type": "boolean" }, | |
| 35 | - "seeMoreCollapseString": { "type": "string" }, | |
| 36 | - "footerLinkTarget": { "type": "boolean" }, | |
| 37 | 18 | "startingLineNumber": { "type": "number", "default": 1 }, |
| 38 | - "lineNumbersWidth": { "type": "number" }, | |
| 39 | - "enableHighlighting": { "type": "boolean" }, | |
| 40 | - "highlightingHover": { "type": "boolean" }, | |
| 41 | - "lineHighlights": { "type": "string" }, | |
| 42 | - "lineHighlightColor": { "type": "string" }, | |
| 43 | - "enableBlurring": { "type": "boolean" }, | |
| 44 | - "lineBlurs": { "type": "string" }, | |
| 45 | - "removeBlurOnHover": { "type": "boolean" }, | |
| 46 | 19 | "frame": { "type": "boolean" }, |
| 47 | 20 | "renderType": { "type": "string", "default": "code" }, |
| 48 | 21 | "label": { "type": "string", "default": "" }, |
| 49 | - "copyButton": { "type": "boolean" }, | |
| 50 | - "copyButtonType": { "type": "string" }, | |
| 51 | - "copyButtonString": { "type": "string" }, | |
| 52 | - "copyButtonStringCopied": { "type": "string" }, | |
| 53 | - "tabSize": { "type": "number" }, | |
| 54 | - "useTabs": { "type": "boolean" } | |
| 22 | + "copyButton": { "type": "boolean" } | |
| 55 | 23 | }, |
| 56 | 24 | "supports": { |
| 57 | 25 | "html": false, |
| 58 | - "align": ["wide", "full"] | |
| 26 | + "align": ["full", "wide"] | |
| 59 | 27 | }, |
| 60 | 28 | "textdomain": "code-block-pro", |
| 61 | 29 | "editorScript": "file:./index.js", |
| 62 | 30 | "editorStyle": "file:./index.css", |