Hello,
Due to project constraints, I do not have access to docroot hence the /libraries folder.
This patch edits the src to the viewer.html (which then also allows modifying .css and .html files) based on current enabled profile and the theme folder path.

Comments

naz_appno created an issue. See original summary.

nbozoglu’s picture

StatusFileSize
new4.02 KB
nbozoglu’s picture

StatusFileSize
new3.45 KB

Editing more directories

nbozoglu’s picture

StatusFileSize
new4.58 KB

This patch is to mix https://www.drupal.org/project/pdf/issues/2918214 and the one above

nbozoglu’s picture

StatusFileSize
new3.27 KB
shenzhuxi’s picture

Priority: Normal » Minor
Status: Active » Needs work

JS file in libraries folder is a common practice. The patch needs to make it work by default and profile path can be an option.

nbozoglu’s picture

@shenzhuxi
This patch is added to overcome project limitations, nothing is needed from your side or anyone in the community.
Feel free to mark this ticket however you see fit. Thanks.

shenzhuxi’s picture

Assigned: Unassigned » shenzhuxi
Status: Needs work » Closed (works as designed)