- π«π·France vbouchet
Hi
Thanks for reporting. After diving into the code, I realise that when using Layout Builder Browser in the tray (default), it does not use any Layout Builder Browser JS but the core layout-builder.js file. There is an issue in Drupal core issue queue: https://www.drupal.org/project/drupal/issues/3308658 π 'Filter by block name' filter is not working correctly Needs work
When using the modal mode, Layout Builder Browser is attaching a custom JS to handle the filtering (as I suspect the layout builder library is not loaded in the modal). I would suggest to wait for the core issue to be fixed to fix the same in the modal.
- Status changed to Needs review
over 1 year ago 1:39pm 9 August 2023 - πΊπ¦Ukraine ekolmyk
I added a patch that corrects the HTML structure of the blocks list, making the UL list resemble the core layout builder module instead of a collection of tags. This change fixes the search by block title.
- π·πΊRussia lexbritvin
The patch above broke style when using gin_lb.
Here is the patch that worked for me, it add a div wrapper for links. - πΊπ¦Ukraine Taran2L Lviv
Taran2L β changed the visibility of the branch 3259885-filter-by-block to hidden.
- πΊπ¦Ukraine Taran2L Lviv
Taran2L β changed the visibility of the branch 3259885-filter-by-block to active.
- πΊπ¦Ukraine Taran2L Lviv
Attaching static patch file for composer patching
-
StryKaizer β
committed e6575cdb on 8.x-1.x authored by
Taran2L β
Issue #3259885 by Taran2L, ekolmyk, fbocanegra, lexbritvin, Liam Morland...
-
StryKaizer β
committed e6575cdb on 8.x-1.x authored by
Taran2L β
- Status changed to Fixed
10 months ago 11:21am 25 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.