NO BUG: Edge Usecase Bug with writable PDF-Document

When choosing a writable PDF and select it with the link: Media Option it’s not writeable anymore in the browsertab. After testing several versions of writable PDFs the solution was to set it as an Internal post/page. That solved the issue.

Hi,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue. I tried with this PDF in Chrome, which works perfectly fine: https://www.bahn-bkk.de/cms-media/media-238005920.pdf?download=1

But what I don’t understand at all: how can you link to the PDF by switching to internal post/page?
Can you perhaps show and explain this in a short screencast?

Best regards,
timmse

Hey Timmse, thx for the reply I will try to find the time for a loom.
But your setup isn’t right: Do an <a> element and link it to the media file.

Doesn’t work:

Don’t force the download with ?download=1. The file opens in a new tab and then the fields are not working anymore. Forcing the download works and setting the link to internal and selecting the media works.

Works:

Can you tell me which element you are originally using, before changing it’s tag to <a>?

I did it with the Basic Text element exactly as in the first screenshot, but you seem to be using a different element?

its a div element in a grid set as an <a> link. There is also acss running

The Footer div has the link and is also the clickable-parent for the whole card. But that shouldn’t be the issue

Bildschirmfoto 2024-02-07 um 14.05.44

Maybe it is because I still can’t reproduce the problem: CleanShot 2024-02-07 at 15.08.08 · CleanShot Cloud

Also, the link on the front end compared between “media” and “internal post/page” is the same; it’s still a regular link, except for the href: media targets the file, internal post/page targets the attachment page.

Thx, Timmse. I will also try it on a playground site with just vanilla setup. And try comparisons with the plugin stack on this site.

1 Like