Adding a custom class to the trix-editor via className prop is not possible
Closed this issue · 3 comments
alejo4373 commented
I need the ability to pass a custom class name to <trix-editor>
because I want to override a css property that is set via the default trix.css
. More specifically I want to override min-height
because I want the editor to have different heights at different times.
It looks like we could accomplish this through trixEditorOptions
.
I'm open to collaborating on this further.
abhaynikam commented
@alejo4373 Sounds good to me. Please feel free to raise a PR. 😊
alejo4373 commented
What do you think of updating storybook? It took me some time to figure how to implement the new story with the older API. See the change in API here for how to add parameters
and decorators
.
abhaynikam commented
We can log a separate issue for upgrading Storybook. Closing this issue as PR is merged.