Add line wrapping to codemirror to avoid breaking layout