I encounter a bug in admin with vamtam theme.
In post/page edit we have a page builder called vamtam.
When we create a text/html bloc with the page builder we have a new window with a button “add a picture” which opens the media library. But when we insert a picture from the media library, the picture isn’t add to the bloc. In fact nothing happens.
The issue doesn’t exist if I disable “Advanced Custom Fields”. I’m still not sure what happens, but I think that somehow ACF is preventing the page builder from marking the newly created TinyMCE instance in the block options as the currently active editor.
Do you have a workaround to that problem.
PS: i post in bug reports but change the location if you think it’s not the right place.
ACF does create a hidden ‘WYSIWYG’ field in the wp_footer. You can will see a hidden div at the bottom of the page. If you change the
display property of this div, you can then see the WYSIWYG field.
Can you check to see if the image is being inserted into this field?
I think that WP uses a JS variable called
wpActiveEditor to specify the active editor. This depicts where an inserted image is going to go.
Perhaps you can do some console.log tests (with firebug) on the page. Simply log the value of
wpActiveEditor with ACF active, and ACF deactivated.
I have done some testing, but in all scenarios, the
wpActiveEditor variable returns
null on page load.
This si the expected value and allows the main editor to work correctly.
Perhaps there is some code in the Vamtam theme or another plugin that is modifying the
I would advise that you contact the theme developer and ask them.
The topic ‘Compatibility problem with Vamtam themes’ is closed to new replies.
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!