Home › Forums › Gutenberg › Gutenberg Custom ACF Block – Column Width context › Reply To: Gutenberg Custom ACF Block – Column Width context
I asked a similar question but couldn’t get any answers. https://support.advancedcustomfields.com/forums/topic/acf-block-that-has-data-if-its-inside-columns-block/
Once method to build this would be to javascript function in the gutenberg editor that would save all parent settings into the blocks attributes. Is it in a column block, how many columns that block has, is the columns block alignfull or alignwide…
Then the template could access those properties and a suitable sizes attribute could be built.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.