setBlockWrapper: Wrapping wrong thing?
Permalink
Hi,
I was wondering if this was a "feature" or actually a bug before posting as a bug.
I've got an area with setBlockWrapperStart and setBlockWRapperEnd defined however, if I add a layout to the area and then add my blocks into the layout, the block wrapper is applied to the layout and not the individual blocks.
How can I fix this so that the blocks get wrapped, not the layout?
thanks
I was wondering if this was a "feature" or actually a bug before posting as a bug.
I've got an area with setBlockWrapperStart and setBlockWRapperEnd defined however, if I add a layout to the area and then add my blocks into the layout, the block wrapper is applied to the layout and not the individual blocks.
How can I fix this so that the blocks get wrapped, not the layout?
thanks
You are seeing this behavior because custom layouts are a type of block.