-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Single line mode #2009
Comments
Just found out that the padding on the right can be removed with |
It seems the following options remove all padding:
|
A vue componet
Demo: https://vikyd.github.io/vue-monaco-singleline-custom-language/ |
For anyone here looking for a simple expression editor, I wrote https://github.com/djgrant/react-code-input, which turns |
Getting a single line-mode to work is not as straightforward as I thought. It would be nice if this could be added as a configuration option. Here is what worked for me:
with the following editor options:
But I'm still having problems with removing some of the padding on the left and right side of the editor:
Any idea how to remove that padding?
The text was updated successfully, but these errors were encountered: