[WIP] Import Plans
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user