| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/content-outline", |
| 5 |
"title": "Content Outline", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "list-view", |
| 8 |
"description": "Structured article outline with numbered sections, sub-points, optional status badges, and estimated reading time.", |
| 9 |
"keywords": [ |
| 10 |
"outline", |
| 11 |
"contents", |
| 12 |
"structure", |
| 13 |
"plan", |
| 14 |
"article", |
| 15 |
"sections", |
| 16 |
"navigation" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-content-outline-editor", |
| 20 |
"editorStyle": "bkbg-content-outline-style", |
| 21 |
"style": "bkbg-content-outline-style", |
| 22 |
"viewScript": "bkbg-content-outline-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"outlineTitle": { |
| 34 |
"type": "string", |
| 35 |
"default": "Article Outline" |
| 36 |
}, |
| 37 |
"showTitle": { |
| 38 |
"type": "boolean", |
| 39 |
"default": true |
| 40 |
}, |
| 41 |
"intro": { |
| 42 |
"type": "string", |
| 43 |
"default": "A structured overview of what this article covers." |
| 44 |
}, |
| 45 |
"showIntro": { |
| 46 |
"type": "boolean", |
| 47 |
"default": true |
| 48 |
}, |
| 49 |
"sections": { |
| 50 |
"type": "array", |
| 51 |
"default": [ |
| 52 |
{ |
| 53 |
"title": "Introduction", |
| 54 |
"description": "Set the stage with key context and a compelling hook", |
| 55 |
"readTime": 2, |
| 56 |
"points": [ |
| 57 |
{ |
| 58 |
"text": "Why this topic matters right now", |
| 59 |
"status": "done" |
| 60 |
}, |
| 61 |
{ |
| 62 |
"text": "The core problem we're solving", |
| 63 |
"status": "done" |
| 64 |
}, |
| 65 |
{ |
| 66 |
"text": "What you'll learn in this article", |
| 67 |
"status": "done" |
| 68 |
} |
| 69 |
] |
| 70 |
}, |
| 71 |
{ |
| 72 |
"title": "Core Concepts", |
| 73 |
"description": "Build the foundational knowledge readers need", |
| 74 |
"readTime": 5, |
| 75 |
"points": [ |
| 76 |
{ |
| 77 |
"text": "Key terminology and definitions", |
| 78 |
"status": "done" |
| 79 |
}, |
| 80 |
{ |
| 81 |
"text": "How the system works at a high level", |
| 82 |
"status": "in-progress" |
| 83 |
}, |
| 84 |
{ |
| 85 |
"text": "Common misconceptions debunked", |
| 86 |
"status": "planned" |
| 87 |
} |
| 88 |
] |
| 89 |
}, |
| 90 |
{ |
| 91 |
"title": "Step-by-Step Implementation", |
| 92 |
"description": "Actionable guide readers can follow immediately", |
| 93 |
"readTime": 8, |
| 94 |
"points": [ |
| 95 |
{ |
| 96 |
"text": "Prerequisites and setup", |
| 97 |
"status": "in-progress" |
| 98 |
}, |
| 99 |
{ |
| 100 |
"text": "Phase 1: Initial configuration", |
| 101 |
"status": "planned" |
| 102 |
}, |
| 103 |
{ |
| 104 |
"text": "Phase 2: Testing and validation", |
| 105 |
"status": "planned" |
| 106 |
}, |
| 107 |
{ |
| 108 |
"text": "Phase 3: Going live", |
| 109 |
"status": "planned" |
| 110 |
} |
| 111 |
] |
| 112 |
}, |
| 113 |
{ |
| 114 |
"title": "Conclusion & Next Steps", |
| 115 |
"description": "Wrap up with actionable takeaways", |
| 116 |
"readTime": 2, |
| 117 |
"points": [ |
| 118 |
{ |
| 119 |
"text": "Key takeaways summary", |
| 120 |
"status": "planned" |
| 121 |
}, |
| 122 |
{ |
| 123 |
"text": "Recommended resources", |
| 124 |
"status": "planned" |
| 125 |
} |
| 126 |
] |
| 127 |
} |
| 128 |
] |
| 129 |
}, |
| 130 |
"style": { |
| 131 |
"type": "string", |
| 132 |
"default": "card" |
| 133 |
}, |
| 134 |
"showNumbers": { |
| 135 |
"type": "boolean", |
| 136 |
"default": true |
| 137 |
}, |
| 138 |
"showStatus": { |
| 139 |
"type": "boolean", |
| 140 |
"default": true |
| 141 |
}, |
| 142 |
"showReadTime": { |
| 143 |
"type": "boolean", |
| 144 |
"default": true |
| 145 |
}, |
| 146 |
"showDescription": { |
| 147 |
"type": "boolean", |
| 148 |
"default": true |
| 149 |
}, |
| 150 |
"showPoints": { |
| 151 |
"type": "boolean", |
| 152 |
"default": true |
| 153 |
}, |
| 154 |
"collapsible": { |
| 155 |
"type": "boolean", |
| 156 |
"default": false |
| 157 |
}, |
| 158 |
"borderRadius": { |
| 159 |
"type": "number", |
| 160 |
"default": 12 |
| 161 |
}, |
| 162 |
"gap": { |
| 163 |
"type": "number", |
| 164 |
"default": 16 |
| 165 |
}, |
| 166 |
"fontSize": { |
| 167 |
"type": "number", |
| 168 |
"default": 14 |
| 169 |
}, |
| 170 |
"sectionTitleSize": { |
| 171 |
"type": "number", |
| 172 |
"default": 16 |
| 173 |
}, |
| 174 |
"titleFontSize": { |
| 175 |
"type": "number", |
| 176 |
"default": 22 |
| 177 |
}, |
| 178 |
"bgColor": { |
| 179 |
"type": "string", |
| 180 |
"default": "#f8fafc" |
| 181 |
}, |
| 182 |
"cardBg": { |
| 183 |
"type": "string", |
| 184 |
"default": "#ffffff" |
| 185 |
}, |
| 186 |
"borderColor": { |
| 187 |
"type": "string", |
| 188 |
"default": "#e2e8f0" |
| 189 |
}, |
| 190 |
"titleColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "#0f172a" |
| 193 |
}, |
| 194 |
"introColor": { |
| 195 |
"type": "string", |
| 196 |
"default": "#64748b" |
| 197 |
}, |
| 198 |
"numberBg": { |
| 199 |
"type": "string", |
| 200 |
"default": "#6366f1" |
| 201 |
}, |
| 202 |
"numberColor": { |
| 203 |
"type": "string", |
| 204 |
"default": "#ffffff" |
| 205 |
}, |
| 206 |
"sectionTitleColor": { |
| 207 |
"type": "string", |
| 208 |
"default": "#1e293b" |
| 209 |
}, |
| 210 |
"descriptionColor": { |
| 211 |
"type": "string", |
| 212 |
"default": "#64748b" |
| 213 |
}, |
| 214 |
"pointColor": { |
| 215 |
"type": "string", |
| 216 |
"default": "#374151" |
| 217 |
}, |
| 218 |
"accentColor": { |
| 219 |
"type": "string", |
| 220 |
"default": "#6366f1" |
| 221 |
}, |
| 222 |
"doneBg": { |
| 223 |
"type": "string", |
| 224 |
"default": "#dcfce7" |
| 225 |
}, |
| 226 |
"doneColor": { |
| 227 |
"type": "string", |
| 228 |
"default": "#166534" |
| 229 |
}, |
| 230 |
"inProgressBg": { |
| 231 |
"type": "string", |
| 232 |
"default": "#fef9c3" |
| 233 |
}, |
| 234 |
"inProgressColor": { |
| 235 |
"type": "string", |
| 236 |
"default": "#854d0e" |
| 237 |
}, |
| 238 |
"plannedBg": { |
| 239 |
"type": "string", |
| 240 |
"default": "#f1f5f9" |
| 241 |
}, |
| 242 |
"plannedColor": { |
| 243 |
"type": "string", |
| 244 |
"default": "#475569" |
| 245 |
}, |
| 246 |
"typoTitle": { |
| 247 |
"type": "object", |
| 248 |
"default": {} |
| 249 |
}, |
| 250 |
"typoSection": { |
| 251 |
"type": "object", |
| 252 |
"default": {} |
| 253 |
} |
| 254 |
} |
| 255 |
} |
| 256 |
|