Forum Discussion
Opening an attachment in a New Tab
In RISE, I updated a course and replaced a few pdf files that were added as attachment blocks. In the RISE preview, the files open in a new tab as expected and as they have in the past.
After uploading the updated version in the LMS, the 1 attachment block that wasn't replaced with a new file continues to open in a new tab. However, the other attachment blocks with the replaced/updated files now only download and do not open in a new tab.
Is this able to be fixed or moving forward will the files only be downloaded and not opened in a new tab?
- SamHillSuper Hero
Hi AndreaMartin-99 yes, this appears to be an updated behaviour in Rise as I saw a related question recently. I would recommend doing an arbitrary update on the other documents so that they pick-up the new functionality so that it is at least consistent.
Otherwise, you could use the JavaScript I provided to another user, which removes the download attribute from the attachments, so that they continue to open in a new tab.
Uploaded PDFs no longer open in a new tab | Articulate - Community