"Edit online" links in webhelp pages are blocked
Posted: Fri May 09, 2025 12:40 pm
Hello,
Not sure this the best place to ask this question.... but here goes.
We want to migrate our docs to DITA use the publishing engine to generate WebHelp with "edit online" links that would open in Web Author. We are trialling this at the moment, so I am trying to set things up for engineers to be able to play with Web Author.
When I generate webhelp on my local machine, everything works as expected.
We have a Jenkins job that runs on a linux machine and generates the webhelp, which is then available as an artifact of the job and I can browse through it. There are several problems with this webhelp, probably due to server setup.... the Edit online link doesn't open, the fonts are wrong... When I inspect the page, I see the following types of errors in the Console:
Do you happen to know if we need to change any settings on the linux machine, and what would those be? Or anything else that would help?
Many thanks,
Ozana
Not sure this the best place to ask this question.... but here goes.
We want to migrate our docs to DITA use the publishing engine to generate WebHelp with "edit online" links that would open in Web Author. We are trialling this at the moment, so I am trying to set things up for engineers to be able to play with Web Author.
When I generate webhelp on my local machine, everything works as expected.
We have a Jenkins job that runs on a linux machine and generates the webhelp, which is then available as an artifact of the job and I can browse through it. There are several problems with this webhelp, probably due to server setup.... the Edit online link doesn't open, the fonts are wrong... When I inspect the page, I see the following types of errors in the Console:
- "Blocked script execution in '<URL>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."
- "Blocked opening <web author url> in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set."
- "Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback."
Code: Select all
dita -i flowers.ditamap -f webhelp-responsive -o out -Deditlink.ditamap.edit.url="<URL>"
Many thanks,
Ozana