add reference to the editor