You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Not able to not render the theme block element when no blocks are added.
I'd like to check e.g. {{ block.size }} or something like this to be able to ditch the render of the block (e.g. groups) to avoid dom rendering.
2. Not able to limit the amount of blocks that can be added.
Add support for something like "max_blocks" or "limit" to prevent to much blocks.
Checklist
I have checked and made sure that the proposal adheres to this plugin's principles
Additional context
Theme blocks are super powerful and really pleasant to work with, but it would be even better if is could a bit more flexible.
The text was updated successfully, but these errors were encountered:
I believe these changes you're suggesting to the theme platform itself.
I'm not sure that this is the best place to get the relevant eyes on this suggestion, but I'm going to assign this to myself and keep this issue open so that I can make sure to follow up next week to figure out where the best place to raise these issues is.
Hey @stijns96 👋
For the first issue, {{ section.blocks.size }} is likely what you are looking for.
For the second one, can you provide a bit more context in terms of what you are trying to achieve? I'm trying to understand if it is similar to the request we have here.
Uh oh!
There was an error while loading. Please reload this page.
1. Not able to not render the theme block element when no blocks are added.
I'd like to check e.g. {{ block.size }} or something like this to be able to ditch the render of the block (e.g. groups) to avoid dom rendering.
2. Not able to limit the amount of blocks that can be added.
Add support for something like "max_blocks" or "limit" to prevent to much blocks.
Checklist
Additional context
Theme blocks are super powerful and really pleasant to work with, but it would be even better if is could a bit more flexible.
The text was updated successfully, but these errors were encountered: