Files
v2.admin.gaertan.art/src/components/ui/paragraph-node.tsx
2025-12-27 11:14:07 +01:00

18 lines
371 B
TypeScript

'use client';
import * as React from 'react';
import type { PlateElementProps } from 'platejs/react';
import { PlateElement } from 'platejs/react';
import { cn } from '@/lib/utils';
export function ParagraphElement(props: PlateElementProps) {
return (
<PlateElement {...props} className={cn('m-0 px-0 py-1')}>
{props.children}
</PlateElement>
);
}