docta_faustus
docta_faustus

Reputation: 2819

Can't Edit Sources in Chrome Dev Tools

In DevTools, it seems that there are some javascript files that can be edited and others that are "locked," meaning I can't place my cursor inside the file or type anything. What is the reason for this and how can I actually edit these files?

Upvotes: 10

Views: 5538

Answers (1)

Tui Popenoe
Tui Popenoe

Reputation: 2124

If the file has been prettified (i.e. de-minified) Chrome will not allow you to edit the file. Are you attempting to edit a prettified minified file? Also, javascript in an embedded in a PHP or HTML file will remain read-only.

Upvotes: 8

Related Questions