Open jolars opened 4 years ago
That would be nice, but a lot of work at the moment, because the PDF reader is intertwined with a lot of state in the javascript of the window, so that state would have to be moved to the python side (which would probably be better anyway for maintainability) to allow the pdf reader to work in a separate window and webview. I might try out something in that direction when I got some time.
I don't know if this is possible under the limitations of working inside Anki, but I would like to suggest an option to open a separate window for the pdf reader. This is basically the same functionality that is accomplished in #90 by opening two separate windows but it would be nice to have this functionality without the potential side effects that trick incurs.
The motivation is basically the same, namely that I have two monitors, one in portrait mode which makes reading very convenient, and one in landscape mode and it would be nice to avoid having to toggle from full the full-screen mode to side-by-side mode whenever I want to make a non-cloze note. It would also free up some space that is currently used by anki (tags, help, add, close buttons, deck and type buttons and toolbar, etc) to allow more space for the pdf itself.