import {
createTSlatePlugin,
type PluginConfig,
type TElement,
Node as PlateNode,
TNode
} from 'platejs';
import { createPlatePlugin, type PlateElementProps, useEditorRef } from 'platejs/react';
import { useMemo } from 'react';