Frequently I am asked for my job role. It is always easy to describe the technical procedures of editing, or what result the editor produces. After years of scientific journal editing, I consider the above meaning to be somewhat restrictive as it concentrates on activity without mentioning the important function or active effect the editor may have on other people or on society in general. What is more, it is an essential part of the editor's work to offer this training by improving the writing by several revisions whenever necessary. This looks like teaching.
Every journal is like an open school for both authors and readers to learn writing skills.
Indeed, many editors like such teaching, or regard teaching authors the craft of paper preparation as one of their major tasks, or are intoxicated by structured writing skills. The editor may be a good teacher but this is not the primary aim of editorial work. The editor should take care of how to train the author and reader but should not always be doing that. The goal of the editor is to edit, and the goal of editing is to produce a useful publication. Then comes another question.