Overview
Route experience_builder.component_props_form uses a form \Drupal\experience_builder\Form\ComponentPropsForm
This form is rendered in the sidebar of the XB UI.
This form currently uses the default (HTML) wrapper format which means it uses the BlockLayout page variant. The BlockLayout page variant includes all of the other elements of the page such as:
- Page top
- Page bottom
- Any other configured blocks on the page - standard + olivero includes breadcrumbs, search box, primary nav, local tasks, footer, user menu and site branding amongst others
Proposed resolution
- Create a custom wrapper format just for the XB props form - e.g. xb_edit
- Request that instead from the front-end.
- Stop rendering all the extra page things for that form
User interface changes
Issue fork experience_builder-3467498
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 #2
gauravvvv commentedComment #3
wim leersExactly this is already happening in #3454173: Media Library integration (includes introducing a new main content renderer/`_wrapper_format`) :)