#1555 fix - declared our default settings for codemirror

Fix for #1555