Editors and Their Faults?

How much responsibility does an editor have when it comes to the condition of the work they are choosing to publish?Serious question. What do you all out there think? For some context: I am currently reading a novel that has a lot of mistakes that not only should never have been written, but should have […]