import { type Editor, type EditorContentProps, type EditorRootProps, EditorRoot, EditorContent, } from 'platejs/react'; import React from 'react'; export type EditorTestProps = Omit< EditorRootProps, 'children' | 'editor' > & { editableProps?: EditorContentProps & { [name: `data-${string}`]: boolean | number | string | undefined; }; editor: E; variant?: 'comment' | 'wordProcessor'; }; export function EditorTest({ editableProps, editor, variant = 'wordProcessor', ...props }: EditorTestProps) { return ( ); }