layoutbuilder_extras_live_update
What does it do
You can compare it to quick_edit, but then in the mindset of "Layout Builder."
Live updates of Sections
When you change a setting on a Layout Builder section, for example Color, background, .... this will update the layout immediately so you can see your changes without pressing the save button.
Live updates of Layout Builder Blocks
When you change a settings or a field on a Layout Builder block it will also self update.
For example the title of your block, view mode of your block, a textfield, a textarea, a text_format, a link field, video_embed field (which is a textfield)
Media & Entity browser currently not (yet) supported.
V2
- Dropped support for live updating of content. Only live updating of sections.
- Code cleaned up
- D11 ready.
- Cleanup of code.
Requirements
Currently requires these patches to work to drupal/core(-recommended):
"Allow to merge AjaxCommands in AjaxResponse": "https://git.drupalcode.org/issue/drupal-3343670/-/commit/4fc687c782d9535ba9f2dc70421beeec908cf32e.patch"
D10 version of focussing patch:
See: https://www.drupal.org/project/drupal/issues/3343670
Todo make a "final" patch of this not a merge request patch.
Documentation
Just install and you should be good to go.
Note for Layout Builder Section live updates / live changes
Only works for radios, radio, select, checkbox and checkboxes currently. Could be expanded if needed.
keywords
- Layout builder live updates
- Layout builder live changes
- Layout builder visual changes
Check out my other modules:
- Layoutbuilder_extras (Layout builder UX tweaks)
- LB view mode selector for layout builder blocks (Visual view mode selection)