Active
Project:
Layout Builder Blocks
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2021 at 22:47 UTC
Updated:
29 Aug 2024 at 14:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
smustgrave commentedJust curious if anyone knows this is possible?
Comment #3
chikeUsing Drupal 10.0.3, 'layout_builder_iframe_modal' 1.3.0 and Boostrap Barrio theme, I am having this issue as this module is broken in the iframe.
I attached screenshots of how it looks.
Comment #4
rajab natshahSwitching the theme for front-end them is hard.
Layout Builder iFrame Modal is not practical to use with Layout Builder Blocks.
the system and them for Layout Styles should be attached and changed to work with the back-end them.
To me it's not doable. Hard to manage.
Comment #5
rajab natshahSwitching back to Layout Builder Modal with supports for Claro and Gin
#3353423: Switch from Layout Builder Iframe Modal to Layout Builder Modal module
Comment #6
dalemoore commentedI wonder if it would be possible to take a page from Layout Builder Component Attributes and have a different setting in the contextual menu just for the block style settings? If you have that module enabled, for a block you get four options:
Then you could continue to edit the block content through "Configure", which will open in a modal window thanks to Layout Builder iFrame Modal, but control the Bootstrap Styles under a separate link within the contextual menu so that they're in the right-hand tray not the popup.
Comment #7
strayder commentedThe code below implements this. https://www.drupal.org/project/layout_builder_blocks/issues/3238141#comm...
web/modules/custom/YOUR MODULE/src/Form/ManageComponentStylesForm.php
YOUR MODULE.module
YOUR MODULE.routing.yml
YOUR MODULE.links.contextual.yml