add textarea support to play the same as input