fix: #3608901 by andres-alvarez: Wrap component patterns with multiple root elements

Component patterns combining multiple components (headers, footers) must be wrapped in a single DOM element to work correctly in the Display Builder. Without wrapping, subcomponents become individually draggable, breaking the builder's drag-and-drop logic. Extended the wrapping condition to check for multiple root elements via hasMultipleRoot(), not just missing attributes variable usage. Added kernel test covering the multi-root pattern case.

Merge request reports

Loading
Loading