| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/base64-encoder", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Base64 Encoder / Decoder", |
| 7 |
"category": "bkbg-dev", |
| 8 |
"icon": "editor-code", |
| 9 |
"description": "Encode plain text to Base64 or decode Base64 back to text. Supports Unicode, URL-safe Base64 and one-click copy.", |
| 10 |
"keywords": [ |
| 11 |
"base64", |
| 12 |
"encode", |
| 13 |
"decode", |
| 14 |
"converter", |
| 15 |
"developer", |
| 16 |
"tool", |
| 17 |
"binary", |
| 18 |
"ascii" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-base64-encoder-editor", |
| 22 |
"style": "bkbg-base64-encoder-style", |
| 23 |
"viewScript": "bkbg-base64-encoder-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true, |
| 28 |
"align": [ |
| 29 |
"wide", |
| 30 |
"full" |
| 31 |
] |
| 32 |
}, |
| 33 |
"attributes": { |
| 34 |
"title": { |
| 35 |
"type": "string", |
| 36 |
"default": "Base64 Encoder / Decoder" |
| 37 |
}, |
| 38 |
"subtitle": { |
| 39 |
"type": "string", |
| 40 |
"default": "Instantly encode or decode Base64 text" |
| 41 |
}, |
| 42 |
"defaultMode": { |
| 43 |
"type": "string", |
| 44 |
"default": "encode" |
| 45 |
}, |
| 46 |
"defaultInput": { |
| 47 |
"type": "string", |
| 48 |
"default": "" |
| 49 |
}, |
| 50 |
"showUrlSafe": { |
| 51 |
"type": "boolean", |
| 52 |
"default": true |
| 53 |
}, |
| 54 |
"showLineBreaks": { |
| 55 |
"type": "boolean", |
| 56 |
"default": true |
| 57 |
}, |
| 58 |
"showStats": { |
| 59 |
"type": "boolean", |
| 60 |
"default": true |
| 61 |
}, |
| 62 |
"accentColor": { |
| 63 |
"type": "string", |
| 64 |
"default": "#0ea5e9" |
| 65 |
}, |
| 66 |
"sectionBg": { |
| 67 |
"type": "string", |
| 68 |
"default": "#f0f9ff" |
| 69 |
}, |
| 70 |
"cardBg": { |
| 71 |
"type": "string", |
| 72 |
"default": "#ffffff" |
| 73 |
}, |
| 74 |
"inputBg": { |
| 75 |
"type": "string", |
| 76 |
"default": "#f8fafc" |
| 77 |
}, |
| 78 |
"outputBg": { |
| 79 |
"type": "string", |
| 80 |
"default": "#0f172a" |
| 81 |
}, |
| 82 |
"outputColor": { |
| 83 |
"type": "string", |
| 84 |
"default": "#7dd3fc" |
| 85 |
}, |
| 86 |
"titleColor": { |
| 87 |
"type": "string", |
| 88 |
"default": "#0c4a6e" |
| 89 |
}, |
| 90 |
"subtitleColor": { |
| 91 |
"type": "string", |
| 92 |
"default": "#6b7280" |
| 93 |
}, |
| 94 |
"labelColor": { |
| 95 |
"type": "string", |
| 96 |
"default": "#374151" |
| 97 |
}, |
| 98 |
"titleFontSize": { |
| 99 |
"type": "integer", |
| 100 |
"default": 26 |
| 101 |
}, |
| 102 |
"contentMaxWidth": { |
| 103 |
"type": "integer", |
| 104 |
"default": 720 |
| 105 |
}, |
| 106 |
"titleTypo": { |
| 107 |
"type": "object", |
| 108 |
"default": {} |
| 109 |
}, |
| 110 |
"subtitleTypo": { |
| 111 |
"type": "object", |
| 112 |
"default": {} |
| 113 |
} |
| 114 |
} |
| 115 |
} |
| 116 |
|