You can call `getUri()` directly on the editor.