PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / markdown-preview / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/markdown-preview/block.json

113 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/markdown-preview",
5 "title": "Markdown Preview",
6 "category": "bkbg-dev",
7 "icon": "editor-code",
8 "description": "Live Markdown editor with real-time rendered preview, toolbar shortcuts, and copy buttons.",
9 "keywords": [
10 "markdown",
11 "editor",
12 "preview",
13 "code",
14 "text",
15 "format"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-markdown-preview-editor",
19 "style": "bkbg-markdown-preview-style",
20 "viewScript": "bkbg-markdown-preview-frontend",
21 "supports": {
22 "html": false,
23 "anchor": true,
24 "className": true,
25 "align": [
26 "wide",
27 "full"
28 ]
29 },
30 "attributes": {
31 "title": {
32 "type": "string",
33 "default": "Markdown Editor"
34 },
35 "showTitle": {
36 "type": "boolean",
37 "default": true
38 },
39 "defaultContent": {
40 "type": "string",
41 "default": "# Hello, Markdown!\n\nType your **Markdown** here and see the *live preview* on the right.\n\n## Features\n\n- Bold, italic, headings\n- Code blocks\n- Lists and links\n- Blockquotes\n\n```js\nconsole.log('Hello world');\n```\n\n> This is a blockquote.\n\n[Visit example.com](https://example.com)"
42 },
43 "showToolbar": {
44 "type": "boolean",
45 "default": true
46 },
47 "showWordCount": {
48 "type": "boolean",
49 "default": true
50 },
51 "showCopyBtn": {
52 "type": "boolean",
53 "default": true
54 },
55 "syncScroll": {
56 "type": "boolean",
57 "default": true
58 },
59 "editorHeight": {
60 "type": "number",
61 "default": 380
62 },
63 "accentColor": {
64 "type": "string",
65 "default": "#0ea5e9"
66 },
67 "editorBg": {
68 "type": "string",
69 "default": "#1e293b"
70 },
71 "editorColor": {
72 "type": "string",
73 "default": "#e2e8f0"
74 },
75 "previewBg": {
76 "type": "string",
77 "default": "#ffffff"
78 },
79 "previewColor": {
80 "type": "string",
81 "default": "#1f2937"
82 },
83 "toolbarBg": {
84 "type": "string",
85 "default": "#0f172a"
86 },
87 "toolbarColor": {
88 "type": "string",
89 "default": "#94a3b8"
90 },
91 "sectionBg": {
92 "type": "string",
93 "default": "#f8fafc"
94 },
95 "borderColor": {
96 "type": "string",
97 "default": "#e2e8f0"
98 },
99 "titleColor": {
100 "type": "string",
101 "default": "#0f172a"
102 },
103 "titleTypo": {
104 "type": "object",
105 "default": {}
106 },
107 "contentMaxWidth": {
108 "type": "number",
109 "default": 1100
110 }
111 }
112 }
113