Labs64 / GuideChimp

Create interactive guided product tours in minutes with the most non-technical friendly, lightweight and extendable library.
https://www.labs64.com/guidechimp/
European Union Public License 1.2
203 stars 19 forks source link

Custom buttons based on 'a' tag not showing up #146

Closed v-rudkovskiy closed 1 year ago

v-rudkovskiy commented 2 years ago

Describe the bug Custom buttons based on 'a' tag not showing up on tooltip

To Reproduce Steps to reproduce the behavior:

  1. Create button:

    var a = document.createElement('a');
    a.innerHTML = 'Button';
    a.href = 'http://some-link';
  2. Set button to custom buttons

    var tour = [ {
            element: '#some-element',
            title: 'Title',
            description: 'Description',
            buttons: [a],
        }];

Expected behavior Link-button displayed in tooltip.

v-rudkovskiy commented 2 years ago

PR: https://github.com/Labs64/GuideChimp/pull/147