Require a little help with removing the pre-parsed text from Dukt's {{ twitterTweetButton() }}
<li><a href=" {{ twitterTweetButton({
text: "some text",
target: "_blank"
}) }}"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
This does not work....
The docs specify the following Twig functions:
text— Pre-populated text highlighted in the Tweet composer.url— URL included with the Tweet.hashtags— A comma-separated list of hashtags to be appended to default Tweet text.via— Attribute the source of a Tweet to a Twitter username.related— A comma-separated list of accounts related to the content of the shared URI.size— Set to large to display a larger button.lang— A supported Twitter language code. Loads text components in the specified language. Note: does not affect the text of the cited Tweet.dnt— When set to true, the Tweet and its embedded page do not influence Twitter targeting including suggested accounts.
replacefilter – Robin Schambach Apr 18 '18 at 23:57