Closed eggplantPrince closed 4 years ago
What's the actual html output to the page a) when used with a shortcode b) when used with do_shortcode
? It looks like it's not getting any font files passed in.
heres a test with the ubuntu font
I figured it out. i had a div with the a fontsampler-wrapper class surrounding it.
Okay, great that you could solve it, thanks for keeping me in the loop 👍
On 24. Jan 2020, at 16.43, eggplantPrince notifications@github.com wrote:
Closed #163.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi!
I'm using FontSampler with woocommerce . I call the do_shortcode through a php template of a product, and i can see font sampler creating it's elements, but nothing gets displayed. In the console i get the error:
`TypeError: m.dataset.fonts is undefined (fontsampler.js:117:106) p http://localhost/wp-content/plugins/fontsampler/js/fontsampler.js?ver=5.3.2:117