- Issue created by @hctom
- πΊπΈUnited States tim bozeman
Tim Bozeman β made their first commit to this issueβs fork.
- π©πͺGermany hctom
You're welcome - I also like your UI much more than the core UI, hehe!
-
Tim Bozeman β
committed 7566d323 on 2.1.x
Issue #3424578 by Tim Bozeman, hctom: Disable interactive elements in...
-
Tim Bozeman β
committed 7566d323 on 2.1.x
- Status changed to Fixed
about 1 year ago 5:24pm 29 February 2024 - πΊπΈUnited States tim bozeman
Fantastic! π
I took this opportunity to reorganize the files a bit too after including layout-builders behavior to disable interactive elements. Surprisingly I still needed the styling and link drag disabling stuff from π Disable block links Fixed cause it wasn't covered in cores behavior.
Β―\_(γ)_/Β―
Thanks again!
- π©πͺGermany hctom
I'm sorry, but we missed one important thing: The JS from core's Layout Builder UI to disable those elements was unfortunately not enough. I digged a little more through the code and what the JS actually does is adding a
tabindex="-1"
to e.g. iFrame elements. But to get them draggable, there is the following CSS snippet needed as well (otherwise clicks on such elements will be handled by e.g. the iFrame content) - taken fromlayout_builder/css/layout-builder.css
:.layout-builder-block [tabindex="-1"] { pointer-events: none; }
Maybe this even solves your "issue" that you had to add the custom stylings from π Disable block links Fixed additionally.
Should I create a follow up, or should this ticket be reopened again?
-
Tim Bozeman β
committed e124d1f6 on 2.1.x authored by
hctom β
Issue #3424578 by Tim Bozeman, hctom: Disable interactive elements in...
-
Tim Bozeman β
committed e124d1f6 on 2.1.x authored by
hctom β
-
Tim Bozeman β
committed 9d6d0038 on 2.1.x authored by
hctom β
Issue #3424578 by Tim Bozeman, hctom: Disable interactive elements in...
-
Tim Bozeman β
committed 9d6d0038 on 2.1.x authored by
hctom β
- πΊπΈUnited States tim bozeman
Oh, that's right! I don't need the custom stylings now. π Thank you very much!
- π©πͺGermany hctom
Yeah, now oEmbed are also draggable again as well - Thank you so much!
Automatically closed - issue fixed for 2 weeks with no activity.