Thank you for your reply, but I was really looking for information on the streamlined block of code. I feel that if the examples had been kept the same it would have been easier to decipher. Is there an example of how the syntax looks. I have looked at the Select page https://getblocklab.com/docs/fields/select/ which is sited in the things to Know section but afraid it is of very little use if there are no syntax examples expect the one to create a normal field. 🙁
I have over 30 blocks created that range from posts formatting, image sliders, carousels etc and now looking to move them from the main Block screen section. so that I can add them individually to my sites without having to export and import.
🙂
-
This reply was modified 6 years, 2 months ago by
tonylewis.
-
This reply was modified 6 years, 2 months ago by
tonylewis.
@tonylewis You’re right – the docs on this are lacking. My go-to when I’m not sure is to export a block as JSON, as the structure / keys are all the same as when building it with block_lab_add_field.
For convenience, I usually just refer to this gist: https://gist.github.com/lukecarbis/0a63be52b4d0c13f3951d9addf78896a
Closing as there’s no immediate action, though we’re going to add to the documentation on this.
Feel free to comment if there are any more questions.