I tried this in Edge and it worked fine. I put a text field on my page and set the html property: $w(‘#text1’).html = ‘Wix’;
I click on the field and it immediately redirects to wix.com.
Workaround – in the repeater, I put a transparent Shape object under (overlapped by) the text box with the link text. I add the link URL to the link property of the Shape.
It works with a few artifacts – such as when the link text is short, but the Shape is the width of the whole box just in case the link text is longer.
I’d still like to know why the
surrounding a Text element in a Repeater gets style with pointer-events: none; as that appears to make it not clickable in Edge and IE.
I also tried a Button instead of Text, which works … BUT the Button label doesn’t take html, so certain keywords cannot be bold, for example.
p.s. another bug / annoyance is that within the elements in a Repeater, you can’t arrange them by depth. When you right-click, the context menu will show the Overlapping Items, but not the Arrange menu item. It does if you select the Repeater itself, but not elements within the Repeater Item.
Nice work. I really like the transparent object under the text - that’s actually the best way to do it.
It still remains that there appears to be some issues with the behavior of the components in a Repeater. In fact, I there is a problem with $w.Dropdown in a repeater. I’m going to play with this some, discuss with QA, and then open some bug tickets if needed (and they probably are needed).
Thanks for your good work on this and for reporting on your progress.