I think the authors need to acknowledge research contributors (by people other than the authors) and financial support of the research, but do not acknowledge non-science contributors (e.g., typists, graphic artists, language proofreaders) in the manuscript.
In the medical space, most reputable journals subscribe to the recommendations of ICMJE (International Committee of Medical Journal Editors) on best practices for publication - including standards, ethics, authorship, funding, acknowledgements, etc. ICMJE suggests including "non-author contributors" (e.g. editors, advisers) in the acknowledgements section. See link: http://www.icmje.org/recommendations/browse/roles-and-responsibilities/defining-the-role-of-authors-and-contributors.html
On the other hand, some journals only require you to acknowledge contributors who had a material impact on the methodology, content, or analysis used in the article. Editing would not necessarily fall into these categories. Having said that, I don't think any journal would prohibit or discourage full disclosure of all contributors.
As the Founder & Managing Director of an editing company, I do appreciate when authors acknowledge the editor's contributions. I think it's important to show appreciation for the collective effort of the team who help make a publication successful!