sjmc11 / tourguide-js

TourGuide is a Javascript library for creating user tours and on-boarding steps for your apps.
https://tourguidejs.com
MIT License
616 stars 31 forks source link

Links not working in the tour step? #37

Open jussc opened 2 months ago

jussc commented 2 months ago

Hi, I am trying to set up tourguidejs on a new project.

When I add the attribute like this: <div "data-tg-tour="Use the filters below to blah blah blah

, the link doesn't work.

Or should I be going about it differently?

Thanks in advance!

sjmc11 commented 1 week ago

Hi, your example doesn't look like valid way of declaring tour steps via attributes.

I've updated this codepen example with a Link inside the data attribute: https://codepen.io/sjmc11/pen/NWzaWxw

Ideally if displaying links and formatting, you should use the addSteps method in this codepen example: https://codepen.io/sjmc11/pen/MWXrVWo