When using the helper craft.socialShare.renderShareButton('facebook') with the default configuration (so useModalForShare is true, there is no data-url=[...] attribute attached to the <a> tag, therefore the share functionality does not work.
Steps to reproduce
Put {{ craft.socialShare.renderShareButton('facebook') }} anywhere on the page.
The generated tag does not include the data-url attribute.
Describe the bug
When using the helper
craft.socialShare.renderShareButton('facebook')
with the default configuration (souseModalForShare
is true, there is nodata-url=[...]
attribute attached to the<a>
tag, therefore the share functionality does not work.Steps to reproduce
{{ craft.socialShare.renderShareButton('facebook') }}
anywhere on the page.data-url
attribute.Craft CMS version
5.2.0
Plugin version
2.0.1
Multi-site?
No
Additional context
No response