Image block: a dark theme picture; presented pictures centered
- media_dark (102): shown in place of the image while the site is dark, the block's alt text and caption shared - Present: pictures beside text centered on the slide's height, and a section of only pictures centered both ways Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a59702b7f3
commit
f46deac3cc
7 changed files with 41 additions and 8 deletions
|
|
@ -659,6 +659,16 @@ 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: "media_dark",
|
||||
label: "Dark theme image",
|
||||
widget: "image",
|
||||
crop: "free",
|
||||
resolve: mediaUrl,
|
||||
full: true,
|
||||
when: { path: "type", value: "image" },
|
||||
help: "Shown in place of the image while the site is dark, eg. a chart drawn light on dark. Same alt text and caption. Default: the image above in both themes.",
|
||||
},
|
||||
{
|
||||
path: "image_size",
|
||||
label: "Size",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue