Create new block on layout creation

Hi,

I’m working on a plugin to add settings to the individual columns inside of layout.
Currently, I set them with a custom block named ‘settings’ that I manually add in each columns.

I was wondering if I could automatically create a new block in each columns when I create a new layout in the panel ?
Or is there a way to prevent the creation of more than one instance of a specific type of block in a column

No, I don’t think so. And using blocks for this purpose doesn’t really feel like the right approach to me.

No, at least nothing out of the box.

Do you have an idea to improve what I’ve done without using blocks ?

Unfortunately not, otherwise I would have suggested something.

Depending on the number of columns and settings, I’d probably use the layout settings and add fields per column. But none of these options is ideal if you really need settings on the column level.