react-textarea-code-editor
react-textarea-code-editor copied to clipboard
stop code wrap
Is there any way to stop code wrap and make it horizontal scroll

This can not be achieved, it can only be so simple. @jashwanth999 There are more complex options here:
https://github.com/jaywcjlove/react-monacoeditor https://github.com/uiwjs/react-codemirror
@jaywcjlove I just wonder why something like overflow-wrap: normal does not work here?
@vangelov This highlighting is implemented by overlapping pre and textarea. Maybe this is why overflow-wrap: normal doesn't work.
Oh, I see. Thanks for the answer.
so there's nothing to do?