Problem/Motivation
Currently, when an action occurs in layout builder, such as saving a block, the entire layout builder object is rebuilt and reloaded into the page. For a larger page with more blocks, this can result in a noticeable lag time until interactivity is returned to the user.
Proposed resolution
Return appropriate HTML fragments and only reload the affected part of the layout builder element instead of the whole thing.
Remaining tasks
Identify actions where this can happen.
Refactor the code.
Write new tests, if necessary.
User interface changes
None.
API changes
New LayoutBuilderBlockBuildTrait
trait for generating block LB administrative markup.
Data model changes
None.
Release notes snippet
TBD.