- Issue created by @just_like_good_vibes
- 🇫🇷France hproustacx
First issue :
in web/themes/contrib/ui_suite_dsfr/components/share/share.twig Line 6 should be{% set link_attributes = link.link_attributes|default({}) %}
to allow attribute from menu or other entities
Second issue :
There is no way to properly contribue that component in Drupal, you either have to do some custom entities, or rework the links in Javascript
Possible solution would be to contribute that component as a menu and use token in the url field to respect the pattern of the DSFR example :
https://www.facebook.com/sharer.php?u=[ insert current page url] - 🇫🇷France just_like_good_vibes PARIS
first issue is done in 🐛 [1.1.0] check nav_menu fold/unfold Active
for the second issue, we postpone for later (1.1.x branch).
Custom scenarios require now custom code. We will sort out later, on how to do it without coding.