Image block: a Size (small, medium, large), centered
- image_size (101): blank the column's full width, else up to 20, 32 or 48rem, centered and never wider than the column Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c26e662406
commit
a0eb9d7e49
7 changed files with 39 additions and 2 deletions
|
|
@ -659,6 +659,19 @@ export const blocksChild = {
|
|||
when: { path: "type", value: "video" },
|
||||
help: "A WebVTT (.vtt) file, for an uploaded video; YouTube, Vimeo and Facebook show their own. Default: none.",
|
||||
},
|
||||
{
|
||||
path: "image_size",
|
||||
label: "Size",
|
||||
widget: "select",
|
||||
options: [
|
||||
["small", "Small (up to 20rem)"],
|
||||
["medium", "Medium (up to 32rem)"],
|
||||
["large", "Large (up to 48rem)"],
|
||||
],
|
||||
blankLabel: "Default: the column's full width",
|
||||
help: "A smaller one is centered. Never wider than the column.",
|
||||
when: { path: "type", value: "image" },
|
||||
},
|
||||
{
|
||||
path: "alt",
|
||||
label: "Alt text",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue