Links to other sites only works in preview mode

Sep 15, 2022

Hi! My clickable links to other sites only works in preview mode, not when I share the course online. This is regardles of browser type, or which course the links are in. Anyone knows how to solve this?

3 Replies
Magnus Jonsson

Hi Karl,

My links does not work when I share the course over the web via a www-adress. (one of the choices on how to share the course.)

The link html when I visit the course on the web:
<a data-external="" role="button" tabindex="0">link</a>
(Here the link does not seem to point anywhere, and it does not work)
 
The link html in the preview:
<a href="https://google.com/" rel="noopener noreferrer" target="_blank">link</a>
(Here the link points to the right external url, and it works)
Alyssa Gomez

Hello, Magnus! Hyperlinks should work both in preview and in your published content. What block type are you using to link to other websites?

Are you hyperlinking text in a text block, or are you linking a button in an interactive button block? 

If you don't mind sharing your course Share link with us, we can point you in the right direction!