Hello,
I am unable to recreate the issue.
Do you see any error in your error log or browser console?
Hi Mat,
here the error
Uncaught ReferenceError: SL_locale is not defined
/wp-content/plugins/simple-links/assets/js/editor_plugin.js?wp-mce-4208-20151113:10
Best regards,
Marcus
Hi Marcus,
While I was unable to reproduce the issue, I made a couple of slight adjustments to the order in which the script is cued and release version 4.1.2 just now.
Give that a try and see if the issue goes away.
If not, make sure you have the latest version of Gravity Forms. (Disclaimer: I am in no way affiliated with the premium plugin). I am running 1.9.15.9 on the envirnment I setup for this and currently do not have access to test against old versions.
Also, I’m testing with WP 4.4, if you are on an older version that may be the cause and I can test on an old one.
Another thing to look into is the admin_enqueue_scripts hook. This is where Simple Links add the SL_locale var to the global js scope. If another plugin or theme unregisters actions or adjusts things on this hook it may break.
Hope this helps!
Hi,
thx for a fast reply.
Unfortunately I still get the same error/problem.
Uncaught ReferenceError: SL_locale is not defined
/wp-content/plugins/simple-links/assets/js/editor_plugin.js?wp-mce-4208-20151113:10
I’m using the latest version of WP and GF.
I’m using Gravity Forms Debug Add-on, when activated it sets the active theme to Twenty Fiftheen and disables all plugins. Then you can activate the plugins one by one to see what’s causing the problem. I’ve deactivated all plugins except Simple Links and get the same error. =/
Best regards,
Marcus
Hello,
I think I figured it out.
If you turn on “No Conflict Mode” within Gravity Forms settings it prevents JS vars from being localized on the form edit screens.
Please turn on “No Conflict Mode” and give it a try.
Hi Mat,
I had no conflict mode turned on. After disabling it everything seems to work just fine! 🙂
Saw that you replaced the icon for Simple Links, nice. 🙂
Thx for all help.
Best regards,
Marcus