How to work with an editor