Plugin conflict with Leaflet Maps Marker
-
Hi,
I am the developer of Leaflet Maps Marker (www.ads-software.com/plugins/leaflet-maps-marker/) and a user has reported an incompatibility with your plugin.
My plugin adds a tinymce editor to my map editor and when your plugin is active, it cant be loaded anymore. The console shows the following
error message: TypeError: wp.media.view.settings.post is undefined
It would be great if you could change your plugin in order to only load your scripts and styles on posts and pages and not on other plugin′s pages.(I removed uber-media.js for testing purposes on my page and tinymce editor on my map editor page worked again)
FYI: I am using the following code within my plugin to only enqueue my scripts on my plugin pages – perhaps this helps:$page6 = add_submenu_page('leafletmapsmarker_markers', 'Maps Marker - ' . __('Tools', 'lmm'), __('Tools', 'lmm'), 'activate_plugins','leafletmapsmarker_tools', 'lmm_tools'); add_action('admin_print_scripts-'.$page6, 'lmm_admin_enqueue_scripts');
best,
Robert
- The topic ‘Plugin conflict with Leaflet Maps Marker’ is closed to new replies.