PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.2.4
Code Block Pro – Beautiful Syntax Highlighting v1.2.4
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
← All changes | src/block.json +7 -39 1.27.11.2.4 View file →
@@ -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",