You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
When using tailwindcss-typography would be handy if we can disable the default theme, this make the editor flexible and possibility to use external lib like tailwindcss typography .
I try to disable it by passing empty object but it results on error 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());
}} />
This discussion was converted from issue #504 on July 26, 2021 14:00.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using tailwindcss-typography would be handy if we can disable the default theme, this make the editor flexible and possibility to use external lib like tailwindcss typography .
I try to disable it by passing empty object but it results on error
No overload matches this call
.I disable the error
//@ts-ignore
Beta Was this translation helpful? Give feedback.
All reactions