diff --git a/src/components/common/form/FormRichTextField.tsx b/src/components/common/form/FormRichTextField.tsx index 37ab353c9..226c64d36 100644 --- a/src/components/common/form/FormRichTextField.tsx +++ b/src/components/common/form/FormRichTextField.tsx @@ -7,7 +7,7 @@ import { translateError } from 'common/form/useForm' import { TranslatableField } from 'common/form/validation' import { styled } from '@mui/material/styles' -import { ModernEditor } from './MDXEditor' +// import { ModernEditor } from './MDXEditor' import { QuillEditor } from './QuillEditor' export type FormRichTextFieldProps = { @@ -33,7 +33,7 @@ export default function FormRichTextField({ name }: FormRichTextFieldProps) { const { t } = useTranslation() const [, meta] = useField(name) const helperText = meta.touched ? translateError(meta.error as TranslatableField, t) : '' - const [useMdxEditor, setUseMdxEditor] = React.useState(true) + const [useMdxEditor, setUseMdxEditor] = React.useState(false) return (
@@ -46,7 +46,7 @@ export default function FormRichTextField({ name }: FormRichTextFieldProps) { {({ field }: { field: FieldInputProps }) => ( - + {/* - + */} {useMdxEditor ? ( - <> - - + <>{/* */} ) : ( )}