To be clear, I’m using WebPreviewVirtualFile and not WebPreviewFileEditor directly, but since the former opens in the latter, I’m basically asking if it’s possible to have a WebPreviewFileEditor include a simple toolbar with navigation actions like Back, Forward, and Refresh.
I’m using it to show a preview of a local development server in a right-split alongside the associated source, and if the user follows a broken link or similar, it’s currently not possible to get back to the previous state without resetting the embedded browser view.
Hopefully the question makes sense. Anyone have any idea how one might add either a toolbar or even context menu to the resulting WebPreviewFileEditor with a few simple navigation actions?