try to remove 'contentEditable'.
use ACE as editor.