qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
546 stars 103 forks source link

No form found for `id=acf_content` with block editor #1301

Closed herrvigg closed 1 year ago

herrvigg commented 1 year ago

This error appears in the JS console when editing a post with the block editor and ACF enabled.

No form found for translatable field id=acf_content

It doesn't look harmful, the requested hook is simply not created. This comes from a div element in the footer with class wp-editor-area. Similar to #1186 somehow, but there's no visible Wysiwyg editor for it in this case.

The best is probably to filter it out from the JSON config as done for #1186 but I report it here in case. We'd also need a better way to filter items out after applying a more general config, since this is specifically for ACF it should not be in the main JSON config.