I am trying to insert a Gravity Form into the Event WYSIWYG. It doesn’t work, and after some discussions with the Gravity Forms admins, they suggest the issue is on the Events Manager Extended side in regards to CSS and JS not being enqueued properly.
Following is a response from the Gravity Forms admins:
“…This integration is really on the Events Manager side. Adding admin.php to the list above will “work”, but it will also enqueue that script in most admin pages, which is not ideal. Also, the Events Manager plugin will need to enqueue the CSS and JS when displaying the form. Gravity Forms adds those scripts automatically when the shortcode is placed in the post content, but it has no way of knowing that there is a form on the event page, so the scripts have to be added by the Events Manager plugin. I would suggest contacting the Events Manager plugin. If they need help with the integration, we would be glad to give them some pointer on what needs to be done. …”
It would be great to get the wp_enqueue working properly within Events Manager Extended, what do you think?