Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Rozmuar Classic Block Editing For Advanced Custom Fields Wordpress Plugin - Rating, Reviews, Demo & Download

Rozmuar Classic Block Editing For Advanced Custom Fields Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

On some WordPress builds the block-editor canvas is always rendered inside

<

iframe name=”editor-canvas”>, instead of only for block themes, non-desktop
previews, or apiVersion 3+ blocks as it used to be. Advanced Custom Fields
(ACF) itself contains a check for that iframe and, whenever it finds one,
unconditionally forces every ACF block into read-only Preview mode and hides
the classic “Switch to Edit / Switch to Preview” toolbar button — regardless
of the block’s own acf_block_version.

This plugin restores that classic toggle without modifying any ACF or
WordPress core file on disk, using three independent, individually toggleable
fixes:

  1. Patch ACF’s iframe detection at runtime. Serves a runtime-patched copy
    of ACF’s own block-editing script (generated on demand, cached in the
    uploads directory, auto-regenerated whenever ACF is updated) with the
    iframe-detection function neutralized.
  2. Cap ACF’s own “Block Version 3” down to 2. Separately, ACF’s own
    “Block Version 3” (“Open Expanded Editor” modal) replaces the classic
    toggle with a different UI entirely; this optionally downgrades blocks
    back to Version 2 so they use the (now fixed) classic component.
  3. Cross-document companion fixes. Once the ACF field form renders inside
    the canvas iframe again, several things that only worked because the
    canvas and the rest of wp-admin used to be one document need bridging:
    repeater/flexible-content row tooltips, select2 dropdown positioning, and
    the WYSIWYG (TinyMCE/Quicktags) field, plus loading ACF’s own admin styles
    into the canvas so the form isn’t left unstyled.

All three fixes are configurable under Settings Classic Block Editing for ACF,
and every fallback path is safe: if the expected code can’t be located inside
ACF’s script (for example after an ACF update changes its build), the plugin
leaves the original script untouched and shows an admin notice instead of
silently mis-patching anything.

The iframe-detection patch and companion cross-document fixes are adapted
from the open-source plugin
Block Edit Mode for ACF
by Bakhodir Sharipov (GPLv2 or later), which solves the identical problem.

Why does this need to patch ACF’s script instead of using a filter?

The iframe-detection function lives entirely inside ACF’s own compiled,
minified JavaScript bundle with no PHP-side filter or JS hook exposed for it.
The only way to change its behavior is to modify the JavaScript itself, which
this plugin does at runtime, on a cached copy, without ever touching ACF’s
files on disk.

Screenshots

No screenshots provided


Reviews & Comments