Added contenteditable/designmode fix for multiple whitespace in a row and whitespace in beginning of line.