CodeMirror already makes a syntax highlight for U+00AD (soft hyphen). A soft hyphen in the wikitext is shown as red bullet.
It would be nice to have a syntax highlight for U+00A0 (no-break space, nbsp), too. A suggested visualization is a gray background color for the space character. This visualization is also used in LibreOffice Writer.