35 lines
652 B
JavaScript
35 lines
652 B
JavaScript
import { __ } from "@wordpress/i18n";
|
|
import "./editor.scss";
|
|
|
|
import {
|
|
useBlockProps,
|
|
RichText,
|
|
BlockControls,
|
|
InnerBlocks,
|
|
} from "@wordpress/block-editor";
|
|
import { title } from "@wordpress/icons";
|
|
|
|
export default function Edit() {
|
|
return (
|
|
<div
|
|
{...useBlockProps({
|
|
id: "partenaires-autres-services",
|
|
className: `partners-other-services`,
|
|
})}
|
|
>
|
|
<InnerBlocks
|
|
allowedBlocks={["homegrade-content-blocks/highlight"]}
|
|
template={[
|
|
[
|
|
"homegrade-content-blocks/highlight",
|
|
{
|
|
iconName: "chain",
|
|
title: "Partenaires et autres services compétents",
|
|
},
|
|
],
|
|
]}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|