It would be great to see this functionality.
Currently, I have to use true/false field (foe example “Enable icon”) with Icon Picker field to bypass this problem.
@tbxgeoff did you figure it out or replacing the “Link” field with Group containing the “Link” and “Text” fields is the only solution?
I can confirm that $is_preview is now always returning true in WordPress 5.5. It would be great if you could fix it ASAP, because I’m using this conditional a lot (I was inspired by ACF documentation) and it will break all my latest websites that will automatically upgrade WordPress to version 5.5.
Here is the workaround: https://github.com/AdvancedCustomFields/acf/issues/91
Did anyone fix this issue?
I’ve tried to add custom CSS to the admin panel:
.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],
.block-editor-block-list__layout .block-editor-block-list__block[data-type^="acf/"],
@media (min-width: 600px)
margin-left: -45px
margin-right: -45px
.block-editor-block-list__block-edit
@media (min-width: 600px)
margin-left: -44px
margin-right: -44px
It worked, but Gutenberg still doesn’t understand that this block has a full width, so part of its interface is hidden. It feels too hacky to me. I wish it would work out of the box.
@zoutoirto did you found any solution?
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.