add non tty stdin support to edit command in webcontentedit

Signed-off-by: Laurent Bachelier <laurent@bachelier.name>