I have a trouble with writing the function for cancel elevating of the first letter. For 'input' and 'textarea' it works fine, but at 'div' elements after replacing letter to initial state typing a new symbol appears before caret, in the previous cell.