Fixed uppercase/lowercase by copying char from input before inserting into editor div.