- 🇪🇸Spain rcodina Barcelona
With Drupal 10.2.3, Menu Link Attributes 1.5.0 and Superfish 1.7.0 my superfish menu is printing the classes without applying any patch.
When implementing 'Link Attributes' module and adding a class to a standard menu item, I find that previous <li>
classes are all removed AND the class that I assign via the UI does not show.
Example before assigning a class to a menu item:
<li class="mmenu-mm-list-mlid-4 mmenu-mm-list-path-sample">
<a href="/sample" class="mmenu-mm-list ">
<i class="icon-list2"></i>
<span class="mmenu-block-title">Support Services</span>
</a>
</li>
Example after assigning a class:
<li class="">
<a href="/sample" class="mmenu-mm-list ">
<i class="icon-list2"></i>
<span class="mmenu-block-title">Support Services</span>
</a>
</li>
Not sure if its my use of the 'Mobile Sliding Menu' module or not, but the issue continued even after I uninstalled that module and cleared cache. Whenever I set a menu item attribute, not only does it remove all previous classes (permanently), it never adds the class that I assign via this module.
Is this happening to anyone else?
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
With Drupal 10.2.3, Menu Link Attributes 1.5.0 and Superfish 1.7.0 my superfish menu is printing the classes without applying any patch.