DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 970,177 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Osinachi Chukwujama
Osinachi Chukwujama

Posted on

Cannot Edit in Read-Only Editor

This message always gets to me: "Cannot edit in read only editor". The word editor should mean something that alters text.

The message would make more sense if the editor prevents edits to unauthorized users. But if the editor never allows edits, it shouldn't be called an editor anymore.

What do you think?

Top comments (2)

Collapse
 
Sloan, the sloth mascot
Comment deleted
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.

๐ŸŒš Friends don't let friends browse without dark mode.

Sorry, it's true.