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

Add support for sx prop with all mui-tiptap components for easier style overrides #302

Open
sjdemartini opened this issue Nov 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sjdemartini
Copy link
Owner

Is your feature request related to a problem? Please describe.

In order to more easily customize styles, each exported mui-tiptap component should ideally support sx for style customization, like all of MUI's components do, and not just allow for overrides via className.

Describe the solution you'd like

Perhaps we could just add wrappers that utilize styled https://mui.com/system/styled/ (in addition to or instead of some usage of tss-react), and/or would likely be beneficial to move to an approach like this https://mui.com/material-ui/customization/creating-themed-components/ instead of tss-react, to support styleOverrides as well (see #205).

Additional context

Would help with issues/questions like this #291 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant