niuware / mui-rte

Material-UI Rich Text Editor and Viewer
MIT License
437 stars 168 forks source link

Can we have the toolbar at the bottom? It's at the top by default. #313

Open madarun opened 2 years ago

madarun commented 2 years ago

I am using this for an email component so It would be really nice if I can place the toolbar at the bottom. Thanks a lot

vikassaini-it commented 1 year ago

const myTheme = createTheme({ // Set up your custom MUI theme here overrides: { MUIRichTextEditor: { container: { display: "flex", flexDirection: "column-reverse", }, root: { "& pre": { color: "#212121", }, }, placeHolder: { paddingLeft: 20, width: "inherit", position: "static", }, anchorLink: { color: "#FFEB3B", textDecoration: "underline", }, MuiIconButton: { root: { color: "red !important", }, }, }, }, });