The documentation says that renderWhitespace defaults to none.
However, I noticed in my code that it is defaulting to selection. I confirmed this by opening an empty playground and selecting some text. Setting this option to none manually resulted in the expected behavior.
monaco-editor version: 0.24.0
Browser: Chrome (latest)
OS: Windows 10
Playground code that reproduces the issue: https://microsoft.github.io/monaco-editor/playground.html
The documentation says that
renderWhitespacedefaults tonone.However, I noticed in my code that it is defaulting to
selection. I confirmed this by opening an empty playground and selecting some text. Setting this option tononemanually resulted in the expected behavior.monaco-editor version: 0.24.0
Browser: Chrome (latest)
OS: Windows 10
Playground code that reproduces the issue: https://microsoft.github.io/monaco-editor/playground.html