FEATURE Add new core block support and improve aspect ratio selection in narrative card
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
629301a623
commit
2cee49d71e
|
|
@ -121,7 +121,7 @@ export default function Edit({ attributes, setAttributes }) {
|
||||||
onChange={(value) => setAttributes({ aspectRatio: value })}
|
onChange={(value) => setAttributes({ aspectRatio: value })}
|
||||||
help={__(
|
help={__(
|
||||||
"Sélectionnez la proportion d'affichage de la carte.",
|
"Sélectionnez la proportion d'affichage de la carte.",
|
||||||
"carhop-blocks"
|
"carhop-blocks",
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
@ -149,7 +149,7 @@ export default function Edit({ attributes, setAttributes }) {
|
||||||
blackWhiteCoverFilter
|
blackWhiteCoverFilter
|
||||||
? "narrative-card--black-white-cover-filter"
|
? "narrative-card--black-white-cover-filter"
|
||||||
: ""
|
: ""
|
||||||
}`
|
}`
|
||||||
: ""
|
: ""
|
||||||
}`,
|
}`,
|
||||||
})}
|
})}
|
||||||
|
|
@ -189,6 +189,11 @@ export default function Edit({ attributes, setAttributes }) {
|
||||||
"carhop-blocks/cta-group",
|
"carhop-blocks/cta-group",
|
||||||
"core/list",
|
"core/list",
|
||||||
"core/list-item",
|
"core/list-item",
|
||||||
|
"core/group",
|
||||||
|
"core/columns",
|
||||||
|
"core/column",
|
||||||
|
"core/button",
|
||||||
|
"core/buttons",
|
||||||
]}
|
]}
|
||||||
template={[
|
template={[
|
||||||
["core/heading", { content: "Lorem ipsum" }],
|
["core/heading", { content: "Lorem ipsum" }],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user