Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cusror position issue #680

Open
astraops-dhanushkodir opened this issue Feb 5, 2025 · 1 comment
Open

Cusror position issue #680

astraops-dhanushkodir opened this issue Feb 5, 2025 · 1 comment

Comments

@astraops-dhanushkodir
Copy link

when trying to change the font of the md editor, style conflicts occurs and messes up the cursor position

this issue has reproduced (#601 ).

@n1kroS
Copy link

n1kroS commented Feb 7, 2025

Same trouble. NextJS 14.2.15

I found the solution. You need to wrap your MDEditor in this class.

.container {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    width: 80%;
    margin: 0 auto;

    * {
        font-family: inherit !important;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants