Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

unnecessary override to use tailwindcss-typography #504

Description

@HT-Moh

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions