-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
stop code wrap #112
Comments
This can not be achieved, it can only be so simple. https://github.com/jaywcjlove/react-monacoeditor |
@jaywcjlove I just wonder why something like |
@vangelov This highlighting is implemented by overlapping pre and textarea. Maybe this is why |
Oh, I see. Thanks for the answer. |
so there's nothing to do? |
I was able to prevent the code from text wrapping by nesting the CodeEditor inside a div with <div style={{ overflow: 'auto', }}>
<CodeEditor style={{ width: 'max-content', }} />
</div> |
Is there any way to stop code wrap and make it horizontal scroll
The text was updated successfully, but these errors were encountered: