This commit is contained in:
faisolavolut 2025-01-22 11:20:52 +07:00
parent 7483f3e77c
commit ee10608ef2
1 changed files with 0 additions and 6 deletions

View File

@ -770,11 +770,6 @@ export const TypeRichText: React.FC<any> = ({
},
}),
];
const AfterEditor = () => {
const { editor } = useCurrentEditor();
if (!editor) return <></>;
return <InitEditor editor={editor} local={local} />;
};
return (
<div
ref={(e) => {
@ -829,7 +824,6 @@ export const TypeRichText: React.FC<any> = ({
}}
content={input.value}
editable={!disabled}
slotAfter={<AfterEditor />}
></EditorProvider>
</div>
);