FEATURE Adding core/media-text block 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 12:36:03 +01:00
parent 9c43d10ed7
commit 23b08c9a29
4 changed files with 4 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' => 'f05e328daee418c766a7'); <?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '6be5c32f82ef7a9ebee4');

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", "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"] 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", "core/media-text", "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

@ -164,6 +164,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
"core/embed", "core/embed",
"core/quote", "core/quote",
"core/pullquote", "core/pullquote",
"core/media-text",
"carhop-blocks/heading", "carhop-blocks/heading",
"carhop-blocks/decorative-shapes", "carhop-blocks/decorative-shapes",
"acf/statistics-datas", "acf/statistics-datas",