Saving isn't working

Why saving sin’t working correctly? When I save something, the only thing which saves correctly are commands, why?