import { __ } from "@wordpress/i18n";
import "./editor.scss";

import {
	useBlockProps,
	RichText,
	InnerBlocks,
	BlockControls,
} from "@wordpress/block-editor";

export default function Edit() {
	return (
		<section
			{...useBlockProps({
				className: `homegrade-blocks-parcours-renovateur parcours-renovateur`,
			})}
		>
			<InnerBlocks
				allowedBlocks={[
					"core/paragraph",
					"homegrade-content-blocks/parcours-chapter",
				]}
			/>
		</section>
	);
}
