react-rte icon indicating copy to clipboard operation
react-rte copied to clipboard

Remove all styling

Open lucadegasperi opened this issue 8 years ago • 5 comments

Hello, How can I remove all styles that are applied to the toolbar and the editor, as well as those ugly generated class names? I dont't want the editor nor the toolbar to have any appearance outside of what I define.

Thanks!

lucadegasperi avatar Jul 21 '17 07:07 lucadegasperi

Send a pull request to make this an option. Currently, the styles are statically imported so there's no way to build without them.

bherila avatar Jul 25 '17 20:07 bherila

There is an open issue to move away from CSS modules (the current approach to styling) and implement CSS-in-JS using one of the popular modules like JSS or Aphrodite. This would make it easier to theme and even completely turn on/off styling. I'd be open to a pull request for both.

sstur avatar Jul 26 '17 06:07 sstur

:+1: It would also help avoid the webpack dependency which was a dealbreaker for @jooj123 in #218

bherila avatar Jul 27 '17 11:07 bherila

As someone looking into this, please do not place more dependencies on this already large library. It would be best to simply allow the developer to specify the class names and set our own style via external css or as another option just pass in a style for each component. Pulling in Aphrodite as a dependency would be a showstopper for us.

Panoplos avatar Nov 02 '17 02:11 Panoplos

Are there any updates to this feature?

SapuSeven avatar Apr 16 '21 13:04 SapuSeven