GuideChimp icon indicating copy to clipboard operation
GuideChimp copied to clipboard

Custom buttons based on 'a' tag not showing up

Open v-rudkovskiy opened this issue 3 years ago • 1 comments

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';
  1. 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 avatar Jun 23 '22 09:06 v-rudkovskiy

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

v-rudkovskiy avatar Jun 23 '22 09:06 v-rudkovskiy