Edits should make posts better. Better means getting rid of errors, so both of the examples you gave should be flat-out rejected because they introduce errors.
Chemicals should be formatted upright. Thus, using NaCl is okay. If there are no chemicals that require subscripted or superscripted digits/symbols, then it is fine to use normal typeface throughout the entire post (and an edit replacing only these to use mhchem
is to be rejected for not improving the post significantly). Using $NaCl$ is wrong and bad. Using $\ce{NaCl}$ is good, and should be the preferred variant if there is at least one instance of $\ce{H2O}$ or similar.
Replacing $H_2O$
($H_2O$) or H2O
(H2O) with $\ce{H2O}$
($\ce{H2O}$) is a good thing and should always be done.
Similarly for numbers with units. The correct way to typeset them is with a non-breaking space between value and unit. Thus, 3.14g
is wrong, as is $3.14g$
(actually worse: it introduces wrong italics!) as is $3.14~g$
. The best way to typeset this is $3.14~\mathrm{g}$
and that should be used whenever possible. The newer version of mhchem
even allows us to write $\pu{3.14g}$
as a shortcut (see here for details).
Edits that turn a wrong formatting into a correct one and thus improve the overall condition of the post should always be accepted (unless other errors are introduced). Edits that turn an OK formatting into a correct one need to be judged individually.
$\ce{NaCl}$
and$\pu{1.3g}$
. $\endgroup$