A person who checks, changes, and prepares written work before it is published.
The editor corrected several mistakes in my book.
She works as an editor for a small publisher.
For the person or company that publishes a book, English usually uses publisher, not editor.
Common phrases & grammar
book editor · copy editor · senior editor · editorial changes
an editor at [a publishing company]
[someone] works as an editor