{"id":360477,"date":"2026-09-10T20:47:57","date_gmt":"2026-09-10T20:47:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/acf-classic-block-editing-compat\/"},"modified":"2026-09-10T21:11:59","modified_gmt":"2026-09-10T21:11:59","slug":"rozmuar-classic-block-editing-for-acf","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/rozmuar-classic-block-editing-for-acf\/","author":17582747,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"4.5.0","stable_tag":"4.5.0","tested":"7.1","requires":"6.8","requires_php":"7.4","requires_plugins":null,"header_name":"Rozmuar Classic Block Editing for Advanced Custom Fields","header_author":"Shaadan","header_description":"Restores ACF's classic \"Switch to Edit \/ Switch to Preview\" block toolbar toggle and a fully working field form inside the block canvas, which ACF disables\/breaks whenever it detects the block-editor canvas iframe (now always present since WordPress removed the conditional-iframe fallback).","assets_banners_color":"3a5765","last_updated":"2026-09-10 21:11:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":54,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"4.5.0":{"tag":"4.5.0","author":"shaadan","date":"2026-09-10 21:11:59","revision":3690529}},"upgrade_notice":{"4.5.0":"<p>Renamed to &quot;Rozmuar Classic Block Editing for Advanced Custom Fields&quot;\n(slug: rozmuar-classic-block-editing-for-acf) per WordPress.org&#039;s naming\nreview. No functional changes.<\/p>","4.4.1":"<p>Corrects an in-progress 4.4.0 edit that briefly changed the slug\/text domain;\nit is back to acf-classic-block-editing, matching the assigned WordPress.org\nslug. No action needed.<\/p>","4.4.0":"<p>Displayed plugin name updated to comply with the ACF trademark. No\nfunctional changes; the slug\/folder name is unchanged.<\/p>","4.3.0":"<p>Fixes a crash of all ACF blocks and restores the missing Edit\/Preview toggle\nby keeping the client-side block version in sync with the server.<\/p>","4.0.0":"<p>Adds the companion fixes needed for repeater\/flexible-content fields,\nselect2, and WYSIWYG editing to fully work inside the canvas iframe.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3690542,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3690542,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3690542,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3690542,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["4.5.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2211,2217,148857,4121,148076],"plugin_category":[59],"plugin_contributors":[280140],"plugin_business_model":[],"class_list":["post-360477","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-block-editor","plugin_tags-blocks","plugin_tags-gutenberg","plugin_category-utilities-and-tools","plugin_contributors-shaadan","plugin_committers-shaadan"],"banners":{"banner":"https:\/\/ps.w.org\/rozmuar-classic-block-editing-for-acf\/assets\/banner-772x250.png?rev=3690542","banner_2x":"https:\/\/ps.w.org\/rozmuar-classic-block-editing-for-acf\/assets\/banner-1544x500.png?rev=3690542","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/rozmuar-classic-block-editing-for-acf\/assets\/icon-128x128.png?rev=3690542","icon_2x":"https:\/\/ps.w.org\/rozmuar-classic-block-editing-for-acf\/assets\/icon-256x256.png?rev=3690542","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>English below. \u0420\u0443\u0441\u0441\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u2014 \u043d\u0438\u0436\u0435, \u043f\u043e\u0441\u043b\u0435 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e.<\/strong><\/p>\n\n<h4>English<\/h4>\n\n<p>On some WordPress builds the block-editor canvas is always rendered inside<\/p>\n\n<p>&lt;<\/p>\n\n<p>iframe name=\"editor-canvas\"&gt;, instead of only for block themes, non-desktop\npreviews, or apiVersion 3+ blocks as it used to be. Advanced Custom Fields\n(ACF) itself contains a check for that iframe and, whenever it finds one,\nunconditionally forces every ACF block into read-only Preview mode and hides\nthe classic \"Switch to Edit \/ Switch to Preview\" toolbar button \u2014 regardless\nof the block's own <code>acf_block_version<\/code>.<\/p>\n\n<p>This plugin restores that classic toggle without modifying any ACF or\nWordPress core file on disk, using three independent, individually toggleable\nfixes:<\/p>\n\n<ol>\n<li><strong>Patch ACF's iframe detection at runtime.<\/strong> Serves a runtime-patched copy\nof ACF's own block-editing script (generated on demand, cached in the\nuploads directory, auto-regenerated whenever ACF is updated) with the\niframe-detection function neutralized.<\/li>\n<li><strong>Cap ACF's own \"Block Version 3\" down to 2.<\/strong> Separately, ACF's own\n\"Block Version 3\" (\"Open Expanded Editor\" modal) replaces the classic\ntoggle with a different UI entirely; this optionally downgrades blocks\nback to Version 2 so they use the (now fixed) classic component.<\/li>\n<li><strong>Cross-document companion fixes.<\/strong> Once the ACF field form renders inside\nthe canvas iframe again, several things that only worked because the\ncanvas and the rest of wp-admin used to be one document need bridging:\nrepeater\/flexible-content row tooltips, select2 dropdown positioning, and\nthe WYSIWYG (TinyMCE\/Quicktags) field, plus loading ACF's own admin styles\ninto the canvas so the form isn't left unstyled.<\/li>\n<\/ol>\n\n<p>All three fixes are configurable under Settings \u2192 Classic Block Editing for ACF,\nand every fallback path is safe: if the expected code can't be located inside\nACF's script (for example after an ACF update changes its build), the plugin\nleaves the original script untouched and shows an admin notice instead of\nsilently mis-patching anything.<\/p>\n\n<p>The iframe-detection patch and companion cross-document fixes are adapted\nfrom the open-source plugin\n<a href=\"https:\/\/github.com\/cosmoc0der\/block-edit-mode-for-acf\">Block Edit Mode for ACF<\/a>\nby Bakhodir Sharipov (GPLv2 or later), which solves the identical problem.<\/p>\n\n<h4>\u0420\u0443\u0441\u0441\u043a\u0438\u0439<\/h4>\n\n<p>\u041d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0431\u043e\u0440\u043a\u0430\u0445 WordPress \u043a\u0430\u043d\u0432\u0430\u0441 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u0431\u043b\u043e\u043a\u043e\u0432 \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f\n\u0432\u043d\u0443\u0442\u0440\u0438 <code>&lt;iframe name=\"editor-canvas\"&gt;<\/code> \u2014 \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0442\u0435\u043c,\n\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0432\u044c\u044e \u0438\u043b\u0438 \u0431\u043b\u043e\u043a\u043e\u0432 \u0441 apiVersion 3+, \u043a\u0430\u043a \u0431\u044b\u043b\u043e \u0440\u0430\u043d\u044c\u0448\u0435. \u0412 \u0441\u0430\u043c\u043e\u043c\nAdvanced Custom Fields (ACF) \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u044d\u0442\u043e\u0442 iframe: \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432 \u0435\u0433\u043e,\nACF \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 ACF-\u0431\u043b\u043e\u043a \u0432 \u0440\u0435\u0436\u0438\u043c \u00ab\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u00bb (Preview)\n\u0438 \u043f\u0440\u044f\u0447\u0435\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443-\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u00abSwitch to Edit \/ Switch to\nPreview\u00bb \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 \u2014 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0435\u0433\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e\n    acf_block_version.<\/p>\n\n<p>\u041f\u043b\u0430\u0433\u0438\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c, \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u044f \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e\n\u0444\u0430\u0439\u043b\u0430 ACF \u0438\u043b\u0438 \u044f\u0434\u0440\u0430 WordPress \u043d\u0430 \u0434\u0438\u0441\u043a\u0435, \u0442\u0440\u0435\u043c\u044f \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c\u0438 \u0444\u0438\u043a\u0441\u0430\u043c\u0438 (\u043a\u0430\u0436\u0434\u044b\u0439\n\u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e):<\/p>\n\n<ol>\n<li><strong>\u041f\u0430\u0442\u0447 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 iframe \u0432 ACF \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/strong> \u041e\u0442\u0434\u0430\u0451\u0442 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u043d\u0443\u044e\n\u043a\u043e\u043f\u0438\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u0447\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 ACF (\u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443, \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f\n\u0432 \u043f\u0430\u043f\u043a\u0435 uploads, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 ACF)\n\u0441 \u043e\u0431\u0435\u0437\u0432\u0440\u0435\u0436\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439-\u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u043e\u043c iframe.<\/li>\n<li><strong>\u041f\u043e\u043d\u0438\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u00abBlock Version 3\u00bb ACF \u0434\u043e 2.<\/strong> \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e: \u00abBlock\nVersion 3\u00bb \u0432 ACF (\u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u00abOpen Expanded Editor\u00bb) \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442\n\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0434\u0440\u0443\u0433\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c; \u044d\u0442\u043e\u0442 \u0444\u0438\u043a\u0441 \u043f\u043e\n\u0436\u0435\u043b\u0430\u043d\u0438\u044e \u043f\u043e\u043d\u0438\u0436\u0430\u0435\u0442 \u0431\u043b\u043e\u043a\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0434\u043e Version 2, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 (\u0443\u0436\u0435\n\u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439) \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442.<\/li>\n<li><strong>\u041a\u0440\u043e\u0441\u0441-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0430\u0432\u043a\u0438.<\/strong> \u041a\u043e\u0433\u0434\u0430 \u0444\u043e\u0440\u043c\u0430 \u043f\u043e\u043b\u0435\u0439 ACF \u0441\u043d\u043e\u0432\u0430\n\u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 canvas-iframe, \u0447\u0435\u0440\u0435\u0437 \u0433\u0440\u0430\u043d\u0438\u0446\u0443 iframe \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0451\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c\n\u0440\u044f\u0434 \u0432\u0435\u0449\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u043d\u044c\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043b\u0438\u0448\u044c \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043a\u0430\u043d\u0432\u0430\u0441 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0430\u044f\n\u0447\u0430\u0441\u0442\u044c wp-admin \u0431\u044b\u043b\u0438 \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043c: \u0442\u0443\u043b\u0442\u0438\u043f\u044b \u0441\u0442\u0440\u043e\u043a\n\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435\u043b\u044f\/flexible-content, \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 select2\n\u0438 \u043f\u043e\u043b\u0435 WYSIWYG (TinyMCE\/Quicktags), \u043f\u043b\u044e\u0441 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445\nadmin-\u0441\u0442\u0438\u043b\u0435\u0439 ACF \u0432 \u043a\u0430\u043d\u0432\u0430\u0441, \u0447\u0442\u043e\u0431\u044b \u0444\u043e\u0440\u043c\u0430 \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0431\u0435\u0437 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f.<\/li>\n<\/ol>\n\n<p>\u0412\u0441\u0435 \u0442\u0440\u0438 \u0444\u0438\u043a\u0441\u0430 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2192 Classic Block Editing for ACF\u00bb,\n\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0437\u0430\u043f\u0430\u0441\u043d\u043e\u0439 \u043f\u0443\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u0435\u043d: \u0435\u0441\u043b\u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u0434 \u043d\u0435 \u0443\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438\n\u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 ACF (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f ACF \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0435\u0433\u043e \u0441\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439\n\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442), \u043f\u043b\u0430\u0433\u0438\u043d \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0435\u0442\u0440\u043e\u043d\u0443\u0442\u044b\u043c \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\n\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u2014 \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u0438\u0445\u043e\u0433\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0430\u0442\u0447\u0430.<\/p>\n\n<p>\u041f\u0430\u0442\u0447 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 iframe \u0438 \u043a\u0440\u043e\u0441\u0441-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u043a\u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0438\u0437 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e\n\u043f\u043b\u0430\u0433\u0438\u043d\u0430\n<a href=\"https:\/\/github.com\/cosmoc0der\/block-edit-mode-for-acf\">Block Edit Mode for ACF<\/a>\nBakhodir Sharipov (GPLv2 \u0438\u043b\u0438 \u043d\u043e\u0432\u0435\u0435), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0448\u0430\u0435\u0442 \u0442\u0443 \u0436\u0435 \u0437\u0430\u0434\u0430\u0447\u0443.<\/p>\n\n<!--section=installation-->\n<h4>English<\/h4>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/rozmuar-classic-block-editing-for-acf<\/code>\ndirectory, or install the plugin through the WordPress plugins screen\ndirectly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Optionally configure the three fixes under Settings \u2192 Classic Block\nEditing for ACF (all three are enabled by default).<\/li>\n<\/ol>\n\n<h4>\u0420\u0443\u0441\u0441\u043a\u0438\u0439<\/h4>\n\n<ol>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0432 \u043f\u0430\u043f\u043a\u0443\n   \/wp-content\/plugins\/rozmuar-classic-block-editing-for-acf \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435\n\u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0440\u044f\u043c\u043e \u0447\u0435\u0440\u0435\u0437 \u044d\u043a\u0440\u0430\u043d \u00ab\u041f\u043b\u0430\u0433\u0438\u043d\u044b\u00bb \u0432 WordPress.<\/li>\n<li>\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0439\u0442\u0435 \u043f\u043b\u0430\u0433\u0438\u043d \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u00ab\u041f\u043b\u0430\u0433\u0438\u043d\u044b\u00bb.<\/li>\n<li>\u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0442\u0440\u0438 \u0444\u0438\u043a\u0441\u0430 \u0432 \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2192 Classic Block\nEditing for ACF\u00bb (\u0432\u0441\u0435 \u0442\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e).<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20does%20this%20need%20to%20patch%20acf%27s%20script%20instead%20of%20using%20a%20filter%3F\"><h3>Why does this need to patch ACF's script instead of using a filter?<\/h3><\/dt>\n<dd><p>The iframe-detection function lives entirely inside ACF's own compiled,\nminified JavaScript bundle with no PHP-side filter or JS hook exposed for it.\nThe only way to change its behavior is to modify the JavaScript itself, which\nthis plugin does at runtime, on a cached copy, without ever touching ACF's\nfiles on disk.<\/p><\/dd>\n<dt id=\"does%20this%20modify%20acf%27s%20plugin%20files%3F\"><h3>Does this modify ACF's plugin files?<\/h3><\/dt>\n<dd><p>No. It reads ACF's currently-registered script, writes a patched copy to\n    wp-content\/uploads\/acf-classic-block-editing\/, and serves that copy instead\nvia the <code>script_loader_src<\/code> filter. ACF's own files are never written to.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20acf%20releases%20an%20update%3F\"><h3>What happens when ACF releases an update?<\/h3><\/dt>\n<dd><p>The cached patched copy is keyed by the source file's path, modification\ntime and size, so it is regenerated automatically the next time the editor\nloads after an ACF update.<\/p><\/dd>\n<dt id=\"what%20if%20the%20patch%20can%27t%20find%20the%20expected%20code%3F\"><h3>What if the patch can't find the expected code?<\/h3><\/dt>\n<dd><p>The plugin leaves the original ACF script completely untouched and displays\nan admin notice, rather than guessing or applying a partial\/incorrect patch.<\/p><\/dd>\n<dt id=\"%D0%9F%D0%BE%D1%87%D0%B5%D0%BC%D1%83%20%D0%BF%D0%BB%D0%B0%D0%B3%D0%B8%D0%BD%20%D0%BF%D0%B0%D1%82%D1%87%D0%B8%D1%82%20%D1%81%D0%BA%D1%80%D0%B8%D0%BF%D1%82%20acf%2C%20%D0%B0%20%D0%BD%D0%B5%20%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D1%83%D0%B5%D1%82%20%D1%84%D0%B8%D0%BB%D1%8C%D1%82%D1%80%3F\"><h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0430\u0442\u0447\u0438\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 ACF, \u0430 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0438\u043b\u044c\u0442\u0440?<\/h3><\/dt>\n<dd><p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f-\u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440 iframe \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e\n\u043c\u0438\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e JS-\u0431\u0430\u043d\u0434\u043b\u0430 ACF, \u0438 \u0434\u043b\u044f \u043d\u0435\u0451 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e \u043d\u0438 PHP-\u0444\u0438\u043b\u044c\u0442\u0440\u0430,\n\u043d\u0438 JS-\u0445\u0443\u043a\u0430. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0435\u0451 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u2014 \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0430\u043c\nJavaScript, \u0447\u0442\u043e \u043f\u043b\u0430\u0433\u0438\u043d \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u043d\u0430 \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438,\n\u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u044f \u0444\u0430\u0439\u043b\u044b ACF \u043d\u0430 \u0434\u0438\u0441\u043a\u0435.<\/p><\/dd>\n<dt id=\"%D0%98%D0%B7%D0%BC%D0%B5%D0%BD%D1%8F%D0%B5%D1%82%20%D0%BB%D0%B8%20%D0%BF%D0%BB%D0%B0%D0%B3%D0%B8%D0%BD%20%D1%84%D0%B0%D0%B9%D0%BB%D1%8B%20acf%3F\"><h3>\u0418\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043b\u0438 \u043f\u043b\u0430\u0433\u0438\u043d \u0444\u0430\u0439\u043b\u044b ACF?<\/h3><\/dt>\n<dd><p>\u041d\u0435\u0442. \u041e\u043d \u0447\u0438\u0442\u0430\u0435\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 ACF, \u043f\u0438\u0448\u0435\u0442 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u0432\n    wp-content\/uploads\/acf-classic-block-editing\/ \u0438 \u043e\u0442\u0434\u0430\u0451\u0442 \u0435\u0451 \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0430\n\u0447\u0435\u0440\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440 <code>script_loader_src<\/code>. \u0412 \u0444\u0430\u0439\u043b\u044b \u0441\u0430\u043c\u043e\u0433\u043e ACF \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435\n\u0432\u0435\u0434\u0451\u0442\u0441\u044f.<\/p><\/dd>\n<dt id=\"%D0%A7%D1%82%D0%BE%20%D0%BF%D1%80%D0%BE%D0%B8%D1%81%D1%85%D0%BE%D0%B4%D0%B8%D1%82%20%D0%BF%D1%80%D0%B8%20%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B8%20acf%3F\"><h3>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 ACF?<\/h3><\/dt>\n<dd><p>\u041a\u043b\u044e\u0447 \u043a\u044d\u0448\u0430 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u043f\u0443\u0442\u0438, \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\n\u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u043f\u0438\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\n\u043f\u0435\u0440\u0432\u043e\u0439 \u0436\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f ACF.<\/p><\/dd>\n<dt id=\"%D0%A7%D1%82%D0%BE%20%D0%B5%D1%81%D0%BB%D0%B8%20%D0%BF%D0%B0%D1%82%D1%87%20%D0%BD%D0%B5%20%D0%BD%D0%B0%D1%85%D0%BE%D0%B4%D0%B8%D1%82%20%D0%BE%D0%B6%D0%B8%D0%B4%D0%B0%D0%B5%D0%BC%D1%8B%D0%B9%20%D0%BA%D0%BE%D0%B4%3F\"><h3>\u0427\u0442\u043e \u0435\u0441\u043b\u0438 \u043f\u0430\u0442\u0447 \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u0434?<\/h3><\/dt>\n<dd><p>\u041f\u043b\u0430\u0433\u0438\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 ACF \u043d\u0435\u0442\u0440\u043e\u043d\u0443\u0442\u044b\u043c \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\n\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u2014 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u043e\u0433\u0430\u0434\u043e\u043a \u0438\u043b\u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e\/\u043d\u0435\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0430\u0442\u0447\u0430.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.5.0<\/h4>\n\n<ul>\n<li>Renamed to \"Rozmuar Classic Block Editing for Advanced Custom Fields\" and\nchanged the slug\/text domain to <code>rozmuar-classic-block-editing-for-acf<\/code>,\nper the WordPress.org review team's note that a third-party integration\nneeds a distinctive name of its own ahead of \"... for Advanced Custom\nFields\" \u2014 \"Classic Block Editing for Advanced Custom Fields\" (4.4.0) still\nled with the ACF name once \"for\" was dropped. This is the permalink to be\nassigned for the plugin's WordPress.org listing. No functional changes.<\/li>\n<\/ul>\n\n<h4>4.4.1<\/h4>\n\n<ul>\n<li>Corrected 4.4.0: the slug\/text domain is <code>acf-classic-block-editing<\/code>,\nalready assigned by WordPress.org, and was never meant to change \u2014 an\nin-progress edit briefly changed it to <code>classic-block-editing-for-acf<\/code>\nbefore this release. Reverted the Text Domain header, every\n  __()\/<code>esc_html_e()<\/code> domain argument, the cache directory, and the\nenqueued script\/style handle names back to <code>acf-classic-block-editing<\/code>.\nThe display name introduced in 4.4.0 is unaffected.<\/li>\n<\/ul>\n\n<h4>4.4.0<\/h4>\n\n<ul>\n<li>Renamed the displayed plugin name from \"ACF Classic Block Editing\" to\n\"Classic Block Editing for Advanced Custom Fields\", per the WordPress.org\nreview team's trademark note on the \"ACF\"-first name. The slug\/text domain\n(<code>acf-classic-block-editing<\/code>), already assigned by WordPress.org, is\nunchanged. No functional changes.<\/li>\n<\/ul>\n\n<h4>4.3.0<\/h4>\n\n<ul>\n<li>FIX 1b: type-guard ACF's block <code>.form<\/code> value in the runtime JS patch. ACF\nPRO ships <code>.form<\/code> as a boolean while its own bundle treats it as a string,\nwhich crashed every ACF block (\"This block has encountered an error\") and\nprinted a stray \"true\" in the block sidebar once the iframe detection was\nneutralized. The mismatched value is now coerced to an empty string.<\/li>\n<li>FIX 2b: force <code>mode = 'edit'<\/code> when a block is capped to the classic UI, so\nthe Edit\/Preview toolbar button reappears (it is hidden whenever <code>mode<\/code>\nresolves to <code>\"auto\"<\/code>). Overridable via the\n  acf_classic_block_editing_forced_mode filter.<\/li>\n<li>FIX 2c: also cap <code>api_version<\/code> for PHP block registrations, and move that\nadjustment out from behind an <code>acf_block_version &gt;= 3<\/code> check that never\npassed for JSON-registered blocks.<\/li>\n<li>FIX 2d: cap <code>acf.blockVersion<\/code> \/ <code>acf.mode<\/code> in the raw <code>block.json<\/code>\nmetadata (<code>block_type_metadata<\/code>, priority 5) before ACF reads it, so the\nclient-side editor and the server agree and the classic toggle component\nis mounted instead of the Block Version 3 \"Expanded Editor\".<\/li>\n<li>The patched-script cache key now includes a patch-revision constant so\nplugin logic changes force a rebuild of the cached copy.<\/li>\n<li>The failed-patch admin notice now distinguishes Fix 1 from Fix 1b, and a\npartially patched copy is served when at least one patch applied.<\/li>\n<\/ul>\n\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>Shortened the readme short description to fit the 150-character limit.<\/li>\n<li>Removed \"Compat\" from the plugin name so the slug matches the already-used\n  acf-classic-block-editing text domain (fixes a TextDomainMismatch check).<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Added cross-document companion fixes (repeater\/flexible-content tooltips,\nselect2 positioning, WYSIWYG\/TinyMCE field, canvas styling) adapted from\nBlock Edit Mode for ACF by Bakhodir Sharipov.<\/li>\n<li>Hardened the iframe-detection regex to tolerate different quoting styles.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Switched the primary fix to a runtime patch of ACF's own iframe-detection\nfunction, which is the actual mechanism hiding the Edit\/Preview toggle.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added capping of ACF's Block Version 3 down to Version 2.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: block-editor canvas iframe compatibility bridge.<\/li>\n<\/ul>","raw_excerpt":"Restores ACF&#039;s classic Edit\/Preview block toggle, hidden whenever WordPress iframes the block-editor canvas.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/360477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=360477"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shaadan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=360477"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=360477"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=360477"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=360477"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=360477"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=360477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}