CodeMirror: Trailing Whitespace Demo

This text  
1
This text  
2
 has some    
3
trailing whitespace!
 

Uses the trailingspace addon to highlight trailing whitespace.