| 1 | "use client"; |
| 2 | |
| 3 | import { CursorOverlayPlugin } from "@platejs/selection/react"; |
| 4 | |
| 5 | import { CursorOverlay } from "@/components/plate/ui/cursor-overlay"; |
| 6 | |
| 7 | export const CursorOverlayKit = [ |
| 8 | CursorOverlayPlugin.configure({ |
| 9 | render: { |
| 10 | afterEditable: () => <CursorOverlay />, |
| 11 | }, |
| 12 | }), |
| 13 | ]; |
| 14 |