- 🇦🇹Austria maxilein
#2 does not apply to latest dev
dev-3.x a33215bD.10.2.7 php 8.3
- Status changed to Fixed
3 months ago 7:19am 8 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.
I'm adding some classes to tabs in hook_field_group_re_render. I realise that whatever I add is completely ignored in the final ouput because the theming is rewritten in JS and replaced with hard-coded markup - e.g. formatters/tabs/horizontal-tabs.js
Drupal.theme.horizontalTab = function (settings) {
var tab = {};
var idAttr = settings.details.attr('id');
tab.item = $('<li class="horizontal-tab-button" tabindex="-1"></li>')
.append(tab.link = $('<a href="#' + idAttr + '"></a>')
.append(tab.title = $('<strong></strong>').text(settings.title))
);
Would it be an idea to support custom classes here? I can provide a patch for this which I think doesn't break anything and makes it more Drupal-like in terms of being able to customise output.
Fixed
4.0
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
#2 does not apply to latest dev
dev-3.x a33215b
D.10.2.7 php 8.3
Automatically closed - issue fixed for 2 weeks with no activity.