Fixed the code mirror skipping Markdown cell bug

Code mirror bug fixed by copying the same code used in textcell.js in "onKeyDown"
And I think you commited this fiel by mistake !