| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/morse-code-converter", |
| 5 |
"title": "Morse Code Converter", |
| 6 |
"category": "bkbg-calculators", |
| 7 |
"icon": "controls-volumeon", |
| 8 |
"description": "Encode plain text to Morse code and decode Morse code back to text. Supports dots, dashes and spaces.", |
| 9 |
"keywords": [ |
| 10 |
"morse", |
| 11 |
"code", |
| 12 |
"encode", |
| 13 |
"decode", |
| 14 |
"cipher", |
| 15 |
"dots", |
| 16 |
"dashes", |
| 17 |
"signal" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-morse-code-converter-editor", |
| 21 |
"style": "bkbg-morse-code-converter-style", |
| 22 |
"viewScript": "bkbg-morse-code-converter-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"title": { |
| 34 |
"type": "string", |
| 35 |
"default": "Morse Code Converter" |
| 36 |
}, |
| 37 |
"subtitle": { |
| 38 |
"type": "string", |
| 39 |
"default": "Encode and decode messages in Morse code instantly" |
| 40 |
}, |
| 41 |
"showTitle": { |
| 42 |
"type": "boolean", |
| 43 |
"default": true |
| 44 |
}, |
| 45 |
"showSubtitle": { |
| 46 |
"type": "boolean", |
| 47 |
"default": true |
| 48 |
}, |
| 49 |
"defaultMode": { |
| 50 |
"type": "string", |
| 51 |
"default": "encode" |
| 52 |
}, |
| 53 |
"defaultText": { |
| 54 |
"type": "string", |
| 55 |
"default": "Hello World" |
| 56 |
}, |
| 57 |
"showCopyButton": { |
| 58 |
"type": "boolean", |
| 59 |
"default": true |
| 60 |
}, |
| 61 |
"showPlayButton": { |
| 62 |
"type": "boolean", |
| 63 |
"default": true |
| 64 |
}, |
| 65 |
"showReference": { |
| 66 |
"type": "boolean", |
| 67 |
"default": true |
| 68 |
}, |
| 69 |
"dotChar": { |
| 70 |
"type": "string", |
| 71 |
"default": "\u00b7" |
| 72 |
}, |
| 73 |
"dashChar": { |
| 74 |
"type": "string", |
| 75 |
"default": "\u2014" |
| 76 |
}, |
| 77 |
"accentColor": { |
| 78 |
"type": "string", |
| 79 |
"default": "#6c3fb5" |
| 80 |
}, |
| 81 |
"cardBg": { |
| 82 |
"type": "string", |
| 83 |
"default": "#ffffff" |
| 84 |
}, |
| 85 |
"outputBg": { |
| 86 |
"type": "string", |
| 87 |
"default": "#f5f3ff" |
| 88 |
}, |
| 89 |
"outputBorder": { |
| 90 |
"type": "string", |
| 91 |
"default": "#ede9fe" |
| 92 |
}, |
| 93 |
"outputColor": { |
| 94 |
"type": "string", |
| 95 |
"default": "#3b0764" |
| 96 |
}, |
| 97 |
"tabActiveBg": { |
| 98 |
"type": "string", |
| 99 |
"default": "#6c3fb5" |
| 100 |
}, |
| 101 |
"tabActiveColor": { |
| 102 |
"type": "string", |
| 103 |
"default": "#ffffff" |
| 104 |
}, |
| 105 |
"tabInactiveBg": { |
| 106 |
"type": "string", |
| 107 |
"default": "#f3f4f6" |
| 108 |
}, |
| 109 |
"tabInactiveColor": { |
| 110 |
"type": "string", |
| 111 |
"default": "#374151" |
| 112 |
}, |
| 113 |
"refBg": { |
| 114 |
"type": "string", |
| 115 |
"default": "#f9fafb" |
| 116 |
}, |
| 117 |
"refBorder": { |
| 118 |
"type": "string", |
| 119 |
"default": "#e5e7eb" |
| 120 |
}, |
| 121 |
"inputBorder": { |
| 122 |
"type": "string", |
| 123 |
"default": "#e5e7eb" |
| 124 |
}, |
| 125 |
"labelColor": { |
| 126 |
"type": "string", |
| 127 |
"default": "#374151" |
| 128 |
}, |
| 129 |
"titleColor": { |
| 130 |
"type": "string", |
| 131 |
"default": "" |
| 132 |
}, |
| 133 |
"subtitleColor": { |
| 134 |
"type": "string", |
| 135 |
"default": "" |
| 136 |
}, |
| 137 |
"sectionBg": { |
| 138 |
"type": "string", |
| 139 |
"default": "" |
| 140 |
}, |
| 141 |
"titleSize": { |
| 142 |
"type": "number", |
| 143 |
"default": 28 |
| 144 |
}, |
| 145 |
"outputFontSize": { |
| 146 |
"type": "number", |
| 147 |
"default": 18 |
| 148 |
}, |
| 149 |
"cardRadius": { |
| 150 |
"type": "number", |
| 151 |
"default": 16 |
| 152 |
}, |
| 153 |
"inputRadius": { |
| 154 |
"type": "number", |
| 155 |
"default": 8 |
| 156 |
}, |
| 157 |
"maxWidth": { |
| 158 |
"type": "number", |
| 159 |
"default": 620 |
| 160 |
}, |
| 161 |
"paddingTop": { |
| 162 |
"type": "number", |
| 163 |
"default": 60 |
| 164 |
}, |
| 165 |
"paddingBottom": { |
| 166 |
"type": "number", |
| 167 |
"default": 60 |
| 168 |
}, |
| 169 |
"titleFontWeight": { |
| 170 |
"type": "number", |
| 171 |
"default": 700 |
| 172 |
}, |
| 173 |
"subtitleFontSize": { |
| 174 |
"type": "number", |
| 175 |
"default": 14 |
| 176 |
}, |
| 177 |
"outputLineHeight": { |
| 178 |
"type": "number", |
| 179 |
"default": 1.5 |
| 180 |
}, |
| 181 |
"titleTypo": { |
| 182 |
"type": "object", |
| 183 |
"default": {} |
| 184 |
}, |
| 185 |
"subtitleTypo": { |
| 186 |
"type": "object", |
| 187 |
"default": {} |
| 188 |
}, |
| 189 |
"outputTypo": { |
| 190 |
"type": "object", |
| 191 |
"default": {} |
| 192 |
} |
| 193 |
} |
| 194 |
} |
| 195 |
|