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
monaco-editor version: 0.18.1
Monaco editor is powerful but I want to use it in one-line mode(no multiline).
And I didn't find any relevant options for it.
So, did I miss something?
The text was updated successfully, but these errors were encountered:
Such a mode is not built-in, but you can build it yourself... It is possible that you size the editor in such a way that it has precisely the height of one line, and that you hide the scrollbars, and that you override Enter to not insert \n, and that you listen on content changes and strip \n if they are introduced via pasting, etc...
monaco-editor version: 0.18.1
Monaco editor is powerful but I want to use it in one-line mode(no multiline).
And I didn't find any relevant options for it.
So, did I miss something?
The text was updated successfully, but these errors were encountered: