πŸ‡ͺπŸ‡ΈSpain @mpereztejeiro

Account created on 19 October 2023, 8 months ago
#

Recent comments

πŸ‡ͺπŸ‡ΈSpain mpereztejeiro

Hi,

I solved the issue... It seems that {{ title_prefix }} and {{ title_suffix }} on there own without a div with the right class didn't do the trick,

However I added:


{%
  set classes = [
    'block',
    'block-' ~ configuration.provider|clean_class,
    'block-' ~ plugin_id|clean_class,
  ]
%}
<div{{ attributes.addClass(classes) }}>
  {{ title_prefix }}
  {% if label %}
    <h2{{ title_attributes }}>{{ label }}</h2>
  {% endif %}
  {{ title_suffix }}
</div>

And did the block content appart as I need it to be and everything was working again,

It seems that the configration.provider was the part that i was missing on the div in order for the configuration to work,

Thanks for the help,

KR,

πŸ‡ͺπŸ‡ΈSpain mpereztejeiro

Hi @deborahblessy,

Thanks for your reply,

Basically I only need to be able to see those contextual links in order to edit the block configuration/content in those blocks,

The idea of the theme comes from client side so that was my only option and since we need to add personal CSS code we went with a custom theme,

KR,

Production build 0.69.0 2024