Share buttons widget

Anybody already got the Share buttons widget working in Mx6? I tried to solve the deprecations but I am still stuck with a couple that goes beyond my javascript skills. Regards, Ronald [EDIT] The sollution from Pim I do not seem to get it to work. I get .js errors in my log. See the screenshot. Is the format string widget working in Mx6.10.4?    
1 answers

Hi Ronald, I also gave up and fixed it with HTML for facebook, twitter, linkedin and email with format string widget:

<a href="#" onclick="'${text}&url=${url}&via=${twitteraccount}', '_system');"><i class="fa fa-twitter"></i></a>


<a href="#" onclick="'${text}&url=${url}&source=${socialshareurl}', '_system');"><i class="fa fa-linkedin"></i></a>


<a href="#" onclick="'mailto:?subject=${text}&body=${url}', '_system');"><i class="fa fa-envelope"></i></a>


<a href="#" onclick="'${url}', '_system');"><i class="fa fa-facebook"></i></a>


cleaner and better CSS styling.


html render: