An editor was a person who was responsible for the contents of a print publication. An editor would give assignments to writers, and then in turn review the writers' works, make suggestions for changes, and compile these works for distribution.
Some time prior to 2371, Harry Kim was the editor of the Starfleet Academy newspaper for a year, during which he wrote a polarizing editorial about the Maquis' activities against the Cardassians. (VOY: "Investigations")
In 2373, Jake Sisko began to compose a letter to the editors of a magazine out loud, expressing his regrets that he could not complete a proposed profile of Doctor Julian Bashir. (DS9: "Nor the Battle to the Strong")