#1103 fixing bug in firefox related to contenteditable