"use client";
import dynamic from "next/dynamic";
//import { useEffect, useRef } from "react";

// CKEditor 5 can only run client-side
const CKEditorWrapper = dynamic(() => import("./_ckeditor-inner"), {
  ssr: false,
  loading: () => <div className="border rounded p-3 min-h-[200px] animate-pulse bg-gray-50" />,
});

export default CKEditorWrapper;