paste with structure for paste comming from a cozy editor