| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/kb-article", |
| 5 |
"title": "Knowledge Base Article", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "book", |
| 8 |
"description": "Full knowledge base / help center article with category, difficulty, table of contents, sections, and related articles.", |
| 9 |
"keywords": [ |
| 10 |
"knowledge base", |
| 11 |
"help", |
| 12 |
"article", |
| 13 |
"documentation", |
| 14 |
"faq", |
| 15 |
"guide", |
| 16 |
"kb", |
| 17 |
"support", |
| 18 |
"tutorial" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-kb-article-editor", |
| 22 |
"editorStyle": "bkbg-kb-article-style", |
| 23 |
"style": "bkbg-kb-article-style", |
| 24 |
"viewScript": "bkbg-kb-article-frontend", |
| 25 |
"supports": { |
| 26 |
"html": false, |
| 27 |
"anchor": true, |
| 28 |
"className": true, |
| 29 |
"align": [ |
| 30 |
"wide", |
| 31 |
"full" |
| 32 |
] |
| 33 |
}, |
| 34 |
"attributes": { |
| 35 |
"articleTitle": { |
| 36 |
"type": "string", |
| 37 |
"default": "How to Reset Your Password" |
| 38 |
}, |
| 39 |
"category": { |
| 40 |
"type": "string", |
| 41 |
"default": "Account & Security" |
| 42 |
}, |
| 43 |
"subcategory": { |
| 44 |
"type": "string", |
| 45 |
"default": "Password Management" |
| 46 |
}, |
| 47 |
"showCategory": { |
| 48 |
"type": "boolean", |
| 49 |
"default": true |
| 50 |
}, |
| 51 |
"difficulty": { |
| 52 |
"type": "string", |
| 53 |
"default": "beginner" |
| 54 |
}, |
| 55 |
"showDifficulty": { |
| 56 |
"type": "boolean", |
| 57 |
"default": true |
| 58 |
}, |
| 59 |
"lastUpdated": { |
| 60 |
"type": "string", |
| 61 |
"default": "February 24, 2026" |
| 62 |
}, |
| 63 |
"showLastUpdated": { |
| 64 |
"type": "boolean", |
| 65 |
"default": true |
| 66 |
}, |
| 67 |
"readTime": { |
| 68 |
"type": "string", |
| 69 |
"default": "3 min read" |
| 70 |
}, |
| 71 |
"showReadTime": { |
| 72 |
"type": "boolean", |
| 73 |
"default": true |
| 74 |
}, |
| 75 |
"appliesTo": { |
| 76 |
"type": "string", |
| 77 |
"default": "All plans" |
| 78 |
}, |
| 79 |
"showAppliesTo": { |
| 80 |
"type": "boolean", |
| 81 |
"default": true |
| 82 |
}, |
| 83 |
"intro": { |
| 84 |
"type": "string", |
| 85 |
"default": "Forgot your password? No problem. This guide walks you through every way to reset your password and regain access to your account within minutes." |
| 86 |
}, |
| 87 |
"showIntro": { |
| 88 |
"type": "boolean", |
| 89 |
"default": true |
| 90 |
}, |
| 91 |
"showToc": { |
| 92 |
"type": "boolean", |
| 93 |
"default": true |
| 94 |
}, |
| 95 |
"tocLabel": { |
| 96 |
"type": "string", |
| 97 |
"default": "In this article" |
| 98 |
}, |
| 99 |
"sections": { |
| 100 |
"type": "array", |
| 101 |
"default": [ |
| 102 |
{ |
| 103 |
"heading": "Before You Begin", |
| 104 |
"content": "Make sure you have access to the email address associated with your account. If you no longer have access to that email, contact support before proceeding.", |
| 105 |
"type": "info" |
| 106 |
}, |
| 107 |
{ |
| 108 |
"heading": "Step 1 — Open the Login Page", |
| 109 |
"content": "Navigate to app.example.com/login. Click the \"Forgot password?\" link below the password field.", |
| 110 |
"type": "step" |
| 111 |
}, |
| 112 |
{ |
| 113 |
"heading": "Step 2 — Enter Your Email", |
| 114 |
"content": "Type the email address linked to your account and click \"Send Reset Link\". Check your inbox — the email arrives within 2 minutes.", |
| 115 |
"type": "step" |
| 116 |
}, |
| 117 |
{ |
| 118 |
"heading": "Step 3 — Set a New Password", |
| 119 |
"content": "Click the link in the email. Enter a new password (minimum 8 characters, at least one uppercase letter and one number). Click \"Save Password\".", |
| 120 |
"type": "step" |
| 121 |
}, |
| 122 |
{ |
| 123 |
"heading": "Troubleshooting", |
| 124 |
"content": "Didn't receive the email? Check your spam folder. Ensure you're using the correct address. The reset link expires after 30 minutes — request a new one if needed.", |
| 125 |
"type": "warning" |
| 126 |
} |
| 127 |
] |
| 128 |
}, |
| 129 |
"tags": { |
| 130 |
"type": "array", |
| 131 |
"default": [ |
| 132 |
"password", |
| 133 |
"security", |
| 134 |
"login", |
| 135 |
"account" |
| 136 |
] |
| 137 |
}, |
| 138 |
"showTags": { |
| 139 |
"type": "boolean", |
| 140 |
"default": true |
| 141 |
}, |
| 142 |
"relatedArticles": { |
| 143 |
"type": "array", |
| 144 |
"default": [ |
| 145 |
{ |
| 146 |
"title": "How to Enable Two-Factor Authentication", |
| 147 |
"url": "#" |
| 148 |
}, |
| 149 |
{ |
| 150 |
"title": "Changing Your Account Email Address", |
| 151 |
"url": "#" |
| 152 |
}, |
| 153 |
{ |
| 154 |
"title": "What to Do If Your Account Is Locked", |
| 155 |
"url": "#" |
| 156 |
} |
| 157 |
] |
| 158 |
}, |
| 159 |
"showRelated": { |
| 160 |
"type": "boolean", |
| 161 |
"default": true |
| 162 |
}, |
| 163 |
"relatedLabel": { |
| 164 |
"type": "string", |
| 165 |
"default": "Related Articles" |
| 166 |
}, |
| 167 |
"helpfulYes": { |
| 168 |
"type": "number", |
| 169 |
"default": 48 |
| 170 |
}, |
| 171 |
"helpfulNo": { |
| 172 |
"type": "number", |
| 173 |
"default": 5 |
| 174 |
}, |
| 175 |
"showHelpful": { |
| 176 |
"type": "boolean", |
| 177 |
"default": true |
| 178 |
}, |
| 179 |
"helpfulLabel": { |
| 180 |
"type": "string", |
| 181 |
"default": "Was this article helpful?" |
| 182 |
}, |
| 183 |
"titleTypo": { |
| 184 |
"type": "object", |
| 185 |
"default": {} |
| 186 |
}, |
| 187 |
"bodyTypo": { |
| 188 |
"type": "object", |
| 189 |
"default": {} |
| 190 |
}, |
| 191 |
"borderRadius": { |
| 192 |
"type": "number", |
| 193 |
"default": 10 |
| 194 |
}, |
| 195 |
"maxWidth": { |
| 196 |
"type": "number", |
| 197 |
"default": 820 |
| 198 |
}, |
| 199 |
"bgColor": { |
| 200 |
"type": "string", |
| 201 |
"default": "#ffffff" |
| 202 |
}, |
| 203 |
"borderColor": { |
| 204 |
"type": "string", |
| 205 |
"default": "#e2e8f0" |
| 206 |
}, |
| 207 |
"headerBg": { |
| 208 |
"type": "string", |
| 209 |
"default": "#f8fafc" |
| 210 |
}, |
| 211 |
"headerColor": { |
| 212 |
"type": "string", |
| 213 |
"default": "#0f172a" |
| 214 |
}, |
| 215 |
"categoryColor": { |
| 216 |
"type": "string", |
| 217 |
"default": "#64748b" |
| 218 |
}, |
| 219 |
"titleColor": { |
| 220 |
"type": "string", |
| 221 |
"default": "#0f172a" |
| 222 |
}, |
| 223 |
"textColor": { |
| 224 |
"type": "string", |
| 225 |
"default": "#374151" |
| 226 |
}, |
| 227 |
"tocBg": { |
| 228 |
"type": "string", |
| 229 |
"default": "#f1f5f9" |
| 230 |
}, |
| 231 |
"tocColor": { |
| 232 |
"type": "string", |
| 233 |
"default": "#1e293b" |
| 234 |
}, |
| 235 |
"tocLinkColor": { |
| 236 |
"type": "string", |
| 237 |
"default": "#2563eb" |
| 238 |
}, |
| 239 |
"headingColor": { |
| 240 |
"type": "string", |
| 241 |
"default": "#0f172a" |
| 242 |
}, |
| 243 |
"sectionBorderColor": { |
| 244 |
"type": "string", |
| 245 |
"default": "#e5e7eb" |
| 246 |
}, |
| 247 |
"infoBg": { |
| 248 |
"type": "string", |
| 249 |
"default": "#eff6ff" |
| 250 |
}, |
| 251 |
"infoColor": { |
| 252 |
"type": "string", |
| 253 |
"default": "#1e40af" |
| 254 |
}, |
| 255 |
"infoBorderColor": { |
| 256 |
"type": "string", |
| 257 |
"default": "#93c5fd" |
| 258 |
}, |
| 259 |
"warningBg": { |
| 260 |
"type": "string", |
| 261 |
"default": "#fffbeb" |
| 262 |
}, |
| 263 |
"warningColor": { |
| 264 |
"type": "string", |
| 265 |
"default": "#92400e" |
| 266 |
}, |
| 267 |
"warningBorderColor": { |
| 268 |
"type": "string", |
| 269 |
"default": "#fcd34d" |
| 270 |
}, |
| 271 |
"stepNumberBg": { |
| 272 |
"type": "string", |
| 273 |
"default": "#2563eb" |
| 274 |
}, |
| 275 |
"stepNumberColor": { |
| 276 |
"type": "string", |
| 277 |
"default": "#ffffff" |
| 278 |
}, |
| 279 |
"accentColor": { |
| 280 |
"type": "string", |
| 281 |
"default": "#2563eb" |
| 282 |
}, |
| 283 |
"tagBg": { |
| 284 |
"type": "string", |
| 285 |
"default": "#f1f5f9" |
| 286 |
}, |
| 287 |
"tagColor": { |
| 288 |
"type": "string", |
| 289 |
"default": "#475569" |
| 290 |
}, |
| 291 |
"helpfulYesBg": { |
| 292 |
"type": "string", |
| 293 |
"default": "#dcfce7" |
| 294 |
}, |
| 295 |
"helpfulYesColor": { |
| 296 |
"type": "string", |
| 297 |
"default": "#14532d" |
| 298 |
}, |
| 299 |
"helpfulNoBg": { |
| 300 |
"type": "string", |
| 301 |
"default": "#fee2e2" |
| 302 |
}, |
| 303 |
"helpfulNoColor": { |
| 304 |
"type": "string", |
| 305 |
"default": "#991b1b" |
| 306 |
} |
| 307 |
} |
| 308 |
} |
| 309 |
|