fix contenteditable bug.