add cursor:text on coddmirror

add cursor:text on coddemirror editor and cursor:default on sidebar left (issue6896)