This seems to work, we are using it for the admin area only.
add_action(‘acf/input/admin_footer’, function() {
if (!is_admin()) {
return;
}
?>
<script>
acf.add_filter(‘select2_args’, function(args) {
args.templateSelection = function(selection) {
var $selection = jQuery(‘<span class=”acf-selection”></span>’);
$selection.html(acf.escHtml(selection.text));
$selection.data(‘element’, selection.element);
return $selection;
}
return args;
});
</script>
<?php
});
I’d also be interested to see how this works.
Have you tried using ‘Query Monitor’ plugin and also, is modsecurity on?
We are also having the same issue…
We are having this problem too since day one. Any blocks in full site editing says
Is there any update on this?
*update*
Just wanted to post an update that we have tested the latest beta 5.12-beta1 and this is now fixed.
Thanks for posting this, was driving us crazy, and we disabled Yoast and its fixed.
will bin yoast and use something else.
Same here, working now – all good!
How do we send you the file? would prefer not to have it stored online.
Same issue here, it seems to be repeating the main field.
downgrading to previous version fixes it.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.