Hi I have a shortcode that adds an icon in the editor and when you push a window to fill the options that it has, once released there is a button to insert the code in the editor, as well when pressed does not enter the code editor and you leave it empty, and I’ve noticed that no matter the field wysiwyg editor where you want to insert this code always enters the code in the default content editor that comes with WordPress.
Is there any solution for this?
PS: I use the Pro Shortcode plugin, but this happens with any shortcode that inserts an icon in the editor.
I suspect the issue is due to the way that ACF instantiates the WP tinymce. Due to the requirements of the repeater and flexible content field, the WYSIWYG field must be duplicate-able at run time, which the default WP WYSIWYG does not offer.
I have a feeling that if install and use the WP WYSIWYG field (add-on) your shortcode button will work as expected. If not, the issue most likely lies within the shortcode plugin as it expects only 1 wysiwyg on the page.
Try out the add-on but be aware it won’t work within a repeater / flexible content field.