| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | - "apiVersion": 2, | |
| 3 | + "apiVersion": 3, | |
| 4 | 4 | "name": "kevinbatdorf/code-block-pro", |
| 5 | - "version": "1.2.0", | |
| 5 | + "version": "1.13.0", | |
| 6 | 6 | "title": "Code Block Pro - Beautiful syntax highlighting", |
| 7 | 7 | "category": "common", |
| 8 | 8 | "description": "Code highlighting powered by the VS Code engine. No overhead.", |
| 9 | 9 | "attributes": { |
| @@ -44,8 +44,11 @@ | ||
| 44 | 44 | }, |
| 45 | 45 | "clampFonts": { |
| 46 | 46 | "type": "boolean" |
| 47 | 47 | }, |
| 48 | + "editorHeight": { | |
| 49 | + "type": "string" | |
| 50 | + }, | |
| 48 | 51 | "headerType": { |
| 49 | 52 | "type": "string" |
| 50 | 53 | }, |
| 51 | 54 | "footerType": { |
| @@ -62,8 +65,29 @@ | ||
| 62 | 65 | }, |
| 63 | 66 | "footerLink": { |
| 64 | 67 | "type": "string" |
| 65 | 68 | }, |
| 69 | + "enableMaxHeight": { | |
| 70 | + "type": "boolean" | |
| 71 | + }, | |
| 72 | + "seeMoreType": { | |
| 73 | + "type": "string" | |
| 74 | + }, | |
| 75 | + "seeMoreString": { | |
| 76 | + "type": "string" | |
| 77 | + }, | |
| 78 | + "seeMoreAfterLine": { | |
| 79 | + "type": "string" | |
| 80 | + }, | |
| 81 | + "seeMoreTransition": { | |
| 82 | + "type": "boolean" | |
| 83 | + }, | |
| 84 | + "seeMoreCollapse": { | |
| 85 | + "type": "boolean" | |
| 86 | + }, | |
| 87 | + "seeMoreCollapseString": { | |
| 88 | + "type": "string" | |
| 89 | + }, | |
| 66 | 90 | "footerLinkTarget": { |
| 67 | 91 | "type": "boolean" |
| 68 | 92 | }, |
| 69 | 93 | "startingLineNumber": { |
| @@ -75,8 +99,11 @@ | ||
| 75 | 99 | }, |
| 76 | 100 | "enableHighlighting": { |
| 77 | 101 | "type": "boolean" |
| 78 | 102 | }, |
| 103 | + "highlightingHover": { | |
| 104 | + "type": "boolean" | |
| 105 | + }, | |
| 79 | 106 | "lineHighlights": { |
| 80 | 107 | "type": "string" |
| 81 | 108 | }, |
| 82 | 109 | "lineHighlightColor": { |
| @@ -102,8 +129,27 @@ | ||
| 102 | 129 | "type": "string", |
| 103 | 130 | "default": "" |
| 104 | 131 | }, |
| 105 | 132 | "copyButton": { |
| 133 | + "type": "boolean" | |
| 134 | + }, | |
| 135 | + "copyButtonType": { | |
| 136 | + "type": "string" | |
| 137 | + }, | |
| 138 | + "copyButtonString": { | |
| 139 | + "type": "string" | |
| 140 | + }, | |
| 141 | + "copyButtonStringCopied": { | |
| 142 | + "type": "string" | |
| 143 | + }, | |
| 144 | + "copyButtonUseTextarea": { | |
| 145 | + "type": "boolean", | |
| 146 | + "default": false | |
| 147 | + }, | |
| 148 | + "tabSize": { | |
| 149 | + "type": "number" | |
| 150 | + }, | |
| 151 | + "useTabs": { | |
| 106 | 152 | "type": "boolean" |
| 107 | 153 | } |
| 108 | 154 | }, |
| 109 | 155 | "supports": { |