DEV Community

loading...

Discussion on: Cannot Edit in Read-Only Editor

Collapse
vicradon profile image
Osinachi Chukwujama Author

So, there are many situations where read-only editors are implemented. From file comparison on VsCode to the repl.it's editor.

I think editors are made read-only when editor properties like syntax highlighting are desired but the file should not be editable.