Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom Positioning of toolbar ? #18

Closed
prakashsvmx opened this issue Sep 12, 2019 · 1 comment
Closed

Bottom Positioning of toolbar ? #18

prakashsvmx opened this issue Sep 12, 2019 · 1 comment
Labels
question Further information is requested

Comments

@prakashsvmx
Copy link

Is it possible to Position the toolbar at the bottom?

@niuware niuware added the question Further information is requested label Sep 13, 2019
@niuware
Copy link
Owner

niuware commented Sep 13, 2019

@prakashsvmx Yes, you can override the container style using themes. You can check the included example here.

So basically you will create a theme and add a flex-direction attribute:

...

const defaultTheme = createMuiTheme()

Object.assign(defaultTheme, {
    overrides: {
        MUIRichTextEditor: {
            container: {
                display: "flex",
                flexDirection: "column-reverse"
            }
        }
    }
})

...

<MuiThemeProvider theme={defaultTheme}>
    <MUIRichTextEditor 
        label="Type something here..."
    />
</MuiThemeProvider>

Hopes this helps you out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants