# Detaching the Editor

By default, the editor operates in "attached mode." This means that the active buffer will change to match the currently-viewed page. If you click on a link and land on a new page, your editor will show the source of that page.

If you want to detach the editor from the current page, you can click on the "detach" button on the top right of the editor.

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4pUeY22pHs6b5CL8kx%2F-M4pVpggKZLljnmmb_9c%2Feditor-detach-button.png?alt=media\&token=2dd96c82-0f34-430f-965d-8e4c4c119dd3)

This will pop the editor out into a separate window. In this "detached mode," the editor will stay on the last selected buffer independently of the current page in the browser.

![](https://3230537287-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvGfMSYfHlK61i8WW-1%2F-M4pUeY22pHs6b5CL8kx%2F-M4pWGwmZ6nWWg7ArG7D%2Fdetached-editor.png?alt=media\&token=61e7e26b-d2db-41fa-b4ed-82391c014bd9)
