[WIP] Import Plans

This commit is contained in:
2022-07-07 10:17:46 +07:00
parent f18bb85b94
commit 574004d408
146 changed files with 28928 additions and 71 deletions

View File

@@ -1,5 +1,5 @@
import { ReactNode } from 'react';
import ReactQuill, { ReactQuillProps } from 'react-quill';
import ReactQuill from 'react-quill';
// @mui
import { styled } from '@mui/material/styles';
import { Box, BoxProps } from '@mui/material';
@@ -33,9 +33,11 @@ const RootStyle = styled(Box)(({ theme }) => ({
// ----------------------------------------------------------------------
export interface Props extends ReactQuillProps {
export interface Props {
id?: string;
error?: boolean;
value?: string;
onChange?: (value: string) => void;
simple?: boolean;
helperText?: ReactNode;
sx?: BoxProps;
@@ -64,7 +66,7 @@ export default function Editor({
maxStack: 100,
userOnly: true,
},
syntax: true,
syntax: false, // need highlightjs
clipboard: {
matchVisual: false,
},