@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.
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?
This reply has been marked as private.