Linking text to pages

Appliction: https://forio.com/epicenter/builder/#/j_dewitte/circular-dynamics-bouw-01

Hi Will
To speed up navigation we have used the code below in Interface Builder to link a text to a specific page. It works perfect if you click in the Preview mode but the link changes into code if you (accidently) click in the Editing mode. Can this be avoided, and if so how? Thanks for attention, Joaquim

  <a data-f-on-click="js:goto(#text~txt.html)" href="javascript:void(0);">page</a>

Sorry Will I mixed up text and page in the code. It should be:

<a data-f-on-click="js:goto(#page~txt.html)" href="javascript:void(0);">text</a>

Hi Joaquim – sorry for the difficulties. I will forward this note to our developers so that we can investigate a fix to allow this to not be removed automatically.

WILL

Hi Will,

I would be grateful for info if this issiue can be solved and, if so, when? I prefer to wait for a solution, but I have to demonstrate the latest version coming Tuesday with the text-page links.

Kind regards,

Joaquim

Hi Joaquim,

I assume you are entering this directly when editing the HTML? Unfortunately, links with custom attributes are not currently supported in the text editor. One thing you can do is change this so it’s not editable in the interface builder.

  1. In the “Interface” folder, go to the pages directory. Edit the file directly, including the link in the text
  2. Change this line: <div class="f-text-container"> to a simple <div>

When you go back to the interface builder you will see that block of text but it won’t be editable.