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
This issue is not a bug report. (please use a different template for reporting a bug)
This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
Is there any way to be able to handle \n and \r or \r\n at the same time?. I added two commands to add these special characters but for some reason the editor is transforming all of them to be only one.
For example if I enter This is\n and then an\r\nexample the return will be This is\nand\nexample. I saw this behavior as well for any textarea. Is there any way to get the raw data for the textarea?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
The text was updated successfully, but these errors were encountered:
Context
Description
Is there any way to be able to handle
\n
and\r
or\r\n
at the same time?. I added two commands to add these special characters but for some reason the editor is transforming all of them to be only one.For example if I enter
This is\n
and thenan\r\nexample
the return will beThis is\nand\nexample
. I saw this behavior as well for anytextarea
. Is there any way to get theraw
data for the textarea?Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
The text was updated successfully, but these errors were encountered: