Cosmo Block Edit Mode for ACF
Brings back the "Switch to Edit / Switch to Preview" toggle and the field form inside ACF blocks, instead of only in the sidebar.
Choix solide
Cosmo Block Edit Mode for ACF is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites and was last updated 3 weeks ago, and scores 70/100 on our health check.
- Développé activement — Dernière mise à jour il y a 3 semaines
- Testé avec le dernier WordPress (7.1)
- Momentum — downloads up 122.2% vs the previous 30 days
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Cosmo Block Edit Mode for A… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| éditeur de blocs | >100 |
| blocs | >100 |
| Champs personnalisés | >100 |
| éditeur | >100 |
| inline editing | #37 |
Adoption de version
Part de sites actifs par version.
About Cosmo Block Edit Mode for ACF
From the official readme · v1.0.10Description
Since the post editor canvas is always rendered inside an iframe, Advanced Custom Fields forces every ACF block into preview mode: the toolbar toggle disappears and the field form is pushed into the sidebar. There is no filter or setting to turn that behaviour off.
This plugin restores the previous experience. The toolbar toggle comes back and the fields are edited in place, inside the block, exactly where the content is.
Cosmo Block Edit Mode for ACF is an independent, unofficial plugin. “ACF” and “Advanced Custom Fields” are trademarks of WP Engine; this plugin is not affiliated with, endorsed by, or sponsored by WP Engine or the Advanced Custom Fields team, and the name refers to that plugin solely to describe what this one works with.
Comment cela fonctionne
The plugin builds a patched copy of the ACF blocks script on the fly. The only change is one internal “is the editor iframed?” check, which is made to always return false. The copy is stored in wp-content/uploads/cosmo-block-edit-mode-for-acf/ and its file name is derived from the ACF version and the source file, so it is rebuilt automatically after every ACF update.
If a future ACF release rewrites that part of the code, the plugin silently serves the untouched original and shows a warning in the admin area. Your site never breaks – it simply falls back to the current ACF behaviour.
Some extra styling and a small companion script are loaded inside the canvas iframe, because the iframe does not inherit the wp-admin stylesheets that ACF fields depend on. These also fix everything that breaks once a field lives in a different document than the scripts driving it: select2 dropdowns, tooltip placement, and the WYSIWYG field – TinyMCE, Quicktags, the Visual/Text tabs and the Add Media button.
Obligations
This plugin requires ACF PRO, a commercial plugin sold separately by WP Engine and not distributed through WordPress.org. Blocks are a PRO-only feature. With ACF PRO inactive, this plugin does nothing at all.
This plugin is not affiliated with, endorsed by, or sponsored by WP Engine or the Advanced Custom Fields team.
Développeurs
Turn the patch off without deactivating the plugin:
add_filter( 'cosmo/block_edit_mode_for_acf/enabled', '__return_false' );
On WordPress 7.1+ the plugin keeps blocks without an explicit block version on the legacy version (1 for acf_register_block_type(), 2 for block.json), because version 3 blocks have no in-block form. To opt a block into version 3, set blockVersion in its block.json or acf_block_version in acf_register_block_type().
Installation
- Install and activate ACF PRO.
- Upload the plugin through Plugins – Add New – Upload Plugin, or install it from the plugin directory.
- Activate Cosmo Block Edit Mode for ACF.
- Open a post containing an ACF block – the mode toggle is back in the block toolbar.
Journal de modifications
1.0.10
- Fixed a fatal error on older ACF versions (6.6.2 among them), which pass the block version filter only two arguments.
1.0.9
- Fixed blocks opening their fields in a modal and the sidebar again on WordPress 7.1. ACF 6.6+ and Secure Custom Fields register every block that does not declare a block version as version 3 there, and version 3 has no in-block form to restore. Such blocks now keep the version they had before 7.1; a block that sets its version explicitly is left alone.
- Hid the Secure Custom Fields notice saying the fields of legacy blocks moved to the sidebar, since with this plugin active they did not.
1.0.8
- Fixed the editor jumping to a block with a WYSIWYG field while working elsewhere in the post. A block remounts its form whenever a block is added or removed above it – pressing Enter or Delete does that – and ACF brings the editor back through
switchEditors.go(), which bookmarks the caret and makes WordPress focus and scroll to it once TinyMCE is ready.
1.0.7
- Fixed AJAX-driven fields inside the canvas never loading past the first page of results. Select2 only requests the next page while its “Loading more results…” row is attached, and checks that against the parent document, so for a list living in the canvas the row never counted as attached.
- Fixed date, date-time and time fields inside the canvas never opening their calendar. jQuery UI walks up from the input looking for a z-index until it meets the parent document, runs past the canvas one instead and throws. The calendar is now also moved into the canvas and kept inside its viewport, closes on a click elsewhere, and gets its stylesheets there.
- Fixed accordions inside the canvas not opening, and everything else ACF delegates from the parent document not reacting to the canvas – legacy
acf.model/acf.field.extend()handlers included. Canvas clicks, mousedowns and changes are now handed on to the parent document’s jQuery handlers. - Fixed Select2 lists, the “Are you sure?” confirmation and the Flexible Content popups staying open on a click elsewhere in the canvas, and Select2 lists in the canvas staying open on a click outside of it.
- Fixed the Flexible Content “add layout” and layout actions popups appearing away from their button. They were created bypassing
acf.newTooltip(), so they stayed in the parent document; every ACF tooltip is now moved into the canvas and positioned against the canvas viewport, so it also flips below its target near the top edge like it should. - Fixed WYSIWYG fields in a dragged repeater or Flexible Content row coming out blank. jQuery UI’s
sortstart/sortstopnever reached ACF, so the row was not unmounted and remounted around the drag. - Fixed holding Shift not switching the repeater’s “add row” icon to “duplicate row” inside the canvas.
1.0.4
- fix(blocks): prevent TinyMCE selection crash in iframe and bump block apiVersion to 3
1.0.3
- Fixed the Select2 dropdown of a field inside the canvas opening above the field and drifting away from it. Select2 measures the viewport through the parent window while taking the field’s coordinates from the canvas, so it decided there was no room below where there was plenty; it also repositioned on the parent window’s scroll only, leaving the list behind when the canvas scrolled.
- Fixed a dropdown left floating over the canvas after the block switched to preview. ACF tears Select2 down from its
removehandler, which a block form never reaches – it is unmounted, and the list lives outside the node React drops. - Fixed the block form rendering in the theme’s font at the theme’s size. ACF’s stylesheets expect the wp-admin body font; inside the canvas what they inherit is the editor typography the theme puts on
<body>, which Select2 – having no font of its own – picked up as well. - Stopped adding the canvas stylesheets to the editor page itself.
enqueue_block_assetsfires in both places, and on the editor page everything the form needs is already loaded, while the TinyMCE skin added there a second time only got in the way.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Cosmo Block Edit Mode for ACF alternatives
Tous les plugins de blocs-éditeurs →FAQ
Cosmo Block Edit Mode for ACF: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Cosmo Block Edit Mode for ACF free?
Yes. Cosmo Block Edit Mode for ACF is free to download and use from the official WordPress.org plugin directory.
Is Cosmo Block Edit Mode for ACF safe to use in 2026?
Cosmo Block Edit Mode for ACF is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites and was last updated 3 weeks ago, and scores 70/100 on our health check.
How many websites use Cosmo Block Edit Mode for ACF?
Cosmo Block Edit Mode for ACF is active on 1K+ WordPress websites and has been downloaded 3,123 times since it launched in August 2026. It was downloaded 1,404 times in the last 30 days.
Does Cosmo Block Edit Mode for ACF work with WordPress 7.1?
Yes. The developer has tested Cosmo Block Edit Mode for ACF up to WordPress 7.1.5, the latest release. It requires WordPress 6.8 or newer.
What PHP version does Cosmo Block Edit Mode for ACF need?
Cosmo Block Edit Mode for ACF requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Cosmo Block Edit Mode for ACF last updated?
The latest version, 1.0.10, was released on November 12, 2026 (3 weeks ago).
Who makes Cosmo Block Edit Mode for ACF?
Cosmo Block Edit Mode for ACF is developed and maintained by Bakhodir Sh.
What are the best alternatives to Cosmo Block Edit Mode for ACF?
The most popular alternatives to Cosmo Block Edit Mode for ACF are Classic Editor (8M+ installs), Advanced Editor Tools (1M+ installs) and Disable Gutenberg (500K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
