DEV Community


Discussion on: Cannot Edit in Read-Only Editor

vicradon profile image
Osinachi Chukwujama Author

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

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