From dc276652ce270708c9ad32ff2d46610334315d06 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Thu, 13 Nov 2025 22:29:56 +0100 Subject: [PATCH] Editorjs stufff --- src/app/globals.css | 2 ++ src/components/view/Doc.tsx | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 4f19570..7f722cb 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -127,3 +127,5 @@ outline: none !important; box-shadow: none !important; } + +.ce-header { font-size: 32px !important; } diff --git a/src/components/view/Doc.tsx b/src/components/view/Doc.tsx index 90e3b8e..fe9af74 100644 --- a/src/components/view/Doc.tsx +++ b/src/components/view/Doc.tsx @@ -41,6 +41,7 @@ export default function DocView() { data: doc, async onChange() { const savedData = await editor.save(); + console.log("Document data:", savedData); setDoc(savedData); }, }); @@ -53,8 +54,8 @@ export default function DocView() { }, []); return ( -
-
+
+
); }