I am working on a project that has a lot of custom block types (about 35). They are complex and have a lot of fields. They are being used with Layout Builder so all the blocks that get created are mostly single-use and hidden. The block plugin that is applicable here is the
InlineBlock class provided by Layout Builder.
I want to re-use some of these block types in a node field. This usage is identical to how paragraphs are used on a field. The main module I would turn to in this sort of situation is block_field. Unfortunately it does not work with
InlineBlocks, I’ve created an issue about this.
Is there a solution for this problem? Are there other patterns or techniques I’m missing? At this stage my only obvious solution is to convert these types to paragraphs which I know how to use in Layout Builder.