SmartBlocks
SmartBlocks copied to clipboard
Setting an array with block mentions
📋 Describe the new feature/idea/enhancement you are requesting
Using SET with BLOCKMENTIONS should set an array with all references.
Not strictly needed since at this point, JS can be used, but it'd be nice to also be able to do something like <% FOR(myItemVar, myArray) %> some output for each item .
🔑 Why do you want this?
Could enable many uses based on manipulating multiple blocks with the same tag. I'm imagining generating a chart from attributes.
🔨 Describe any alternatives you've considered
I looked at the variable in javascript, and it seems that it only stores the SmartBlocks code as a string.