Changed to use .contenteditable method