When using tailwindcss-typography I would like to disable the theme completely, so that the editor pick up the styling from tailwindcss, otherwise you end up duplicating the styling by overriding the theme of the editor. but this should not be necessary.
The following code is working, meaning the styling from tailwindcss typography is applied, however typescript complains No overload matches this call.
<Editor
readOnly={readonly}
theme={{}} // No overload matches this call
headingsOffset={0}
defaultValue={content || 'No content'}
onChange={(v) => {
if (onChange) onChange(v());
}} />
will be nice ti have a way to disable the default theme completely.
When using tailwindcss-typography I would like to disable the theme completely, so that the editor pick up the styling from tailwindcss, otherwise you end up duplicating the styling by overriding the theme of the editor. but this should not be necessary. The following code is working, meaning the styling from tailwindcss typography is applied, however typescript complains
No overload matches this call
.will be nice ti have a way to disable the default theme completely.