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