-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Is there a way to set monaco-editor readonly? #54
Comments
Sorry I found that we can pass
|
Has anyone seen a reliable way to change this post-creation? |
@James9074 try this action on the code editor: and then check out readonly here: |
@James9074 |
Hey that actually worked! Thanks @elAndyG and @alexandrudima. I was getting caught up in the doc's typing and forgot I could just pass a json object into |
Hi,
I wonder if there is a way to disable editing i.e. enter into read only mode.
Thanks,
The text was updated successfully, but these errors were encountered: