ObsidianCustomFrames icon indicating copy to clipboard operation
ObsidianCustomFrames copied to clipboard

Feature request: keep pane state across sessions/workspace switches

Open pjeby opened this issue 3 years ago • 0 comments

It'd be nice to be able to have ebooks open in Calibre across sessions. The simplest way to do it would be to implement setState() and getState methods on the View class that set and return a data structure like {url: "current url of iframe/webview"}. Then when Obsidian shuts down or changes workspaces, it will save the current URL, and give it back to the view when Obsidian is re-opened.

(If people mostly don't want the current URL to be saved, this could be controlled by a configuration option to determine whether setState() will actually change the URL.)

If you like, I could provide a pull request, either with or without the configuration option.

pjeby avatar Aug 07 '22 16:08 pjeby