You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We develop an electron app which displays a local single page application which on occasion contains links to (also local) pdf files.
We have included electron-pdf-window and use it with PDFWindow.addSupport(mainWindow);.
On a mac, when clicking a link to these pdf files (<a> element using target="_blank") a new window opens and the pdf file is displayed - perfect, just as intended.
On windows, when clicking the link, a new blank window opens and the pdf file is offered for download. How can we achieve the same behavior as on the mac?
Thank you guys for all your effort, it is much appreciated.
The text was updated successfully, but these errors were encountered:
We develop an electron app which displays a local single page application which on occasion contains links to (also local) pdf files.
We have included electron-pdf-window and use it with
PDFWindow.addSupport(mainWindow);
.On a mac, when clicking a link to these pdf files (
<a>
element usingtarget="_blank"
) a new window opens and the pdf file is displayed - perfect, just as intended.On windows, when clicking the link, a new blank window opens and the pdf file is offered for download. How can we achieve the same behavior as on the mac?
Thank you guys for all your effort, it is much appreciated.
The text was updated successfully, but these errors were encountered: