FEATURE Adding core/quote and core/pullquote blocks to allowed blocks in content box editor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-29 11:23:37 +01:00
parent e19d3f43cd
commit 9c43d10ed7
4 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '5deb6c1034d40f6ae87c'); <?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => 'f05e328daee418c766a7');

View File

@ -203,7 +203,7 @@ function Edit({
template: [["core/paragraph", { template: [["core/paragraph", {
placeholder: "Ajouter ici le texte" placeholder: "Ajouter ici le texte"
}]], }]],
allowedBlocks: ["core/heading", "core/paragraph", "core/group", "core/list", "core/button", "core/image", "core/buttons", "core/columns", "core/post-title", "core/embed", "carhop-blocks/heading", "carhop-blocks/decorative-shapes", "acf/statistics-datas", "carhop-blocks/scroll-story-block", "carhop-blocks/cta-group", "ninja-forms/form", "carhop-blocks/localisation-map", "gravityforms/form", "dynamiques-blocks/sitemap", "mailpoet/subscription-form-block", "shortcode"] allowedBlocks: ["core/heading", "core/paragraph", "core/group", "core/list", "core/button", "core/image", "core/buttons", "core/columns", "core/post-title", "core/embed", "core/quote", "core/pullquote", "carhop-blocks/heading", "carhop-blocks/decorative-shapes", "acf/statistics-datas", "carhop-blocks/scroll-story-block", "carhop-blocks/cta-group", "ninja-forms/form", "carhop-blocks/localisation-map", "gravityforms/form", "dynamiques-blocks/sitemap", "mailpoet/subscription-form-block", "shortcode"]
}) })
}) })
})] })]

File diff suppressed because one or more lines are too long

View File

@ -162,6 +162,8 @@ export default function Edit({ attributes, setAttributes, ...props }) {
"core/columns", "core/columns",
"core/post-title", "core/post-title",
"core/embed", "core/embed",
"core/quote",
"core/pullquote",
"carhop-blocks/heading", "carhop-blocks/heading",
"carhop-blocks/decorative-shapes", "carhop-blocks/decorative-shapes",
"acf/statistics-datas", "acf/statistics-datas",