From ee10608ef2a286f9c9a2a241e6c8d39293e86ab4 Mon Sep 17 00:00:00 2001 From: faisolavolut Date: Wed, 22 Jan 2025 11:20:52 +0700 Subject: [PATCH] richtext --- components/form/field/TypeRichText.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/form/field/TypeRichText.tsx b/components/form/field/TypeRichText.tsx index 0d59640..062dce1 100644 --- a/components/form/field/TypeRichText.tsx +++ b/components/form/field/TypeRichText.tsx @@ -770,11 +770,6 @@ export const TypeRichText: React.FC = ({ }, }), ]; - const AfterEditor = () => { - const { editor } = useCurrentEditor(); - if (!editor) return <>; - return ; - }; return (
{ @@ -829,7 +824,6 @@ export const TypeRichText: React.FC = ({ }} content={input.value} editable={!disabled} - slotAfter={} >
);