Home › Forums › Gutenberg › Load css is has block with the json file › Reply To: Load css is has block with the json file
I’m facing the same issue.
The nearest to native solution that I have found is to add
add_filter( ‘should_load_separate_core_block_assets’, ‘__return_true’ );
This will include only css files of the blocks that are used in the page.
But the css files are injected in the end of the body and I’m not sure if the user internet is slow how will effect the layout shift of the page
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.