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

This commit is contained in:
Antoine M 2026-03-25 16:02:42 +01:00
parent 629301a623
commit 2cee49d71e

View File

@ -121,7 +121,7 @@ export default function Edit({ attributes, setAttributes }) {
onChange={(value) => setAttributes({ aspectRatio: value })}
help={__(
"Sélectionnez la proportion d'affichage de la carte.",
"carhop-blocks"
"carhop-blocks",
)}
/>
@ -149,7 +149,7 @@ export default function Edit({ attributes, setAttributes }) {
blackWhiteCoverFilter
? "narrative-card--black-white-cover-filter"
: ""
}`
}`
: ""
}`,
})}
@ -189,6 +189,11 @@ export default function Edit({ attributes, setAttributes }) {
"carhop-blocks/cta-group",
"core/list",
"core/list-item",
"core/group",
"core/columns",
"core/column",
"core/button",
"core/buttons",
]}
template={[
["core/heading", { content: "Lorem ipsum" }],