import Editor from "@/Editor/Ckeditor"; import React, { useState, useEffect } from "react"; import { Col, Container, Row } from "react-bootstrap"; export default function App() { const [editorLoaded, setEditorLoaded] = useState(false); const [data, setData] = useState(""); useEffect(() => { setEditorLoaded(true); }, []); return ( <> { setData(data); }} editorLoaded={editorLoaded} /> {/* {JSON.stringify(data)} */} ); }