- Issue created by @mpereztejeiro
- 🇮🇳India deborahblessy
Hi @mpereztejeiro ,
Instead of theme, you can try to add on relevant twig file template to achieve this.
Could you explain about the solution to achieve ? I can help you on that.
- 🇪🇸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,
The steps to reproduce require a custom theme which we do not see. For this to be a bug report we would need it demonstrated that this is a bug.
- 🇪🇸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,
- Status changed to Closed: works as designed
about 1 year ago 3:41pm 19 October 2023