carhop__plugins__PROD-DEV/plugins/carhop-blocks/src/chapo/save.js
Antoine M 5dc6ea260d
All checks were successful
continuous-integration/drone/push Build is passing
CHORE REFACTOR upgrading plugin to handle a unique monopackage bundler
2025-11-20 11:06:56 +01:00

12 lines
341 B
JavaScript

import { useBlockProps } from "@wordpress/block-editor";
import { RichText } from "@wordpress/block-editor";
export default function save({ attributes }) {
const { content } = attributes;
const blockProps = useBlockProps.save({
className: "block-chapo",
});
return <RichText.Content {...blockProps} value={content} tagName="p" />;
}