Newer react quill
This commit is contained in:
@@ -17,14 +17,13 @@
|
|||||||
"@mui/icons-material": "^5.14.2",
|
"@mui/icons-material": "^5.14.2",
|
||||||
"@emotion/react": "^11.11.1",
|
"@emotion/react": "^11.11.1",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"react-quill": "^2.0.0"
|
"react-quill-new": "^3.3.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^18.2.15",
|
"@types/react": "^18.2.15",
|
||||||
"@types/react-dom": "^18.2.7",
|
"@types/react-dom": "^18.2.7",
|
||||||
"@types/react-router-dom": "^5.3.3",
|
"@types/react-router-dom": "^5.3.3",
|
||||||
"@types/axios": "^0.14.0",
|
"@types/axios": "^0.14.0",
|
||||||
"@types/react-quill": "^1.3.10",
|
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
"react-scripts": "5.0.1"
|
"react-scripts": "5.0.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactQuill from 'react-quill';
|
import ReactQuill from 'react-quill-new';
|
||||||
import 'react-quill/dist/quill.snow.css';
|
import 'react-quill-new/dist/quill.snow.css';
|
||||||
import { Box, Typography, styled } from '@mui/material';
|
import { Box, Typography, styled } from '@mui/material';
|
||||||
|
|
||||||
const StyledEditorContainer = styled(Box)(({ theme }) => ({
|
const StyledEditorContainer = styled(Box)(({ theme }) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user