Open saileshkush95 opened 3 years ago
Write here your issue description.
When i using this settings, some tools are not working properly like "numberList", "bulletList", e.t.c Here is my code snippets
import React from "react"; import { createMuiTheme, MuiThemeProvider } from "@material-ui/core/styles"; import MUIRichTextEditor from "mui-rte"; const defaultTheme = createMuiTheme(); const controls = [ "bold", "italic", "underline", "strikethrough", "highlight", "link", "media", "numberList", "bulletList", "quote", ]; Object.assign(defaultTheme, { overrides: { MUIRichTextEditor: { root: { width: "97%", marginLeft: "8px", }, editor: { height: "150px", overflow: "auto" // border: "1px solid gray", }, }, }, }); const RTE = (props) => { return ( <MuiThemeProvider theme={defaultTheme}> <MUIRichTextEditor controls={controls} label="Type something here..." /> </MuiThemeProvider> ); }; export default RTE;
Same problem for me @saileshkush95 😕
Checklist
Description
Write here your issue description.
When i using this settings, some tools are not working properly like "numberList", "bulletList", e.t.c Here is my code snippets