Problem/Motivation
UI Suite Daisy UI has this account menu--account.html.twig:
{% for item in items %}
{{ include('ui_suite_daisyui:button', {
url: item.url.toString(),
label: item.title,
}, with_context: false) }}
{% endfor %}We can drag each button one by one and that must not be possible.
Proposed resolution
Like what we already do with empty elements, wrap those blocks before rendering them in BuilderPanel.
Issue fork display_builder-3557112
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pdureau commentedComment #5
mogtofu33 commentedAdded a follow up #3557196: Add tests for BuilderPanel::buildSingleBlock() as the buildSingleBlock method is complex and need some tests.
Comment #6
mogtofu33 commented