atularen / ngx-monaco-editor

Monaco Editor component for Angular 2 and Above
https://www.npmjs.com/package/ngx-monaco-editor
MIT License
428 stars 155 forks source link

Change Read Only Mode #260

Open stefanofalasca opened 2 years ago

stefanofalasca commented 2 years ago

Hi, seem that when you want change status from readonly = true to readonly = false, that doesn't change and editor still read only mode

rick-chou commented 2 years ago

Hey, you can see this repo, it works for me https://github.com/rick-chou/one-piece/blob/main/angular/src/views/editor/editor.component.ts online http://124.223.71.181/rick/angular/home/editor

I hope useful to you