and what JS error(s) do you see on the browser console @domidobb?
It just says: ReferenceError: tinymce is not defined
and that is after having excluded wp-included/js/tinymce/? do you have “also aggregate inline JS” on and if so, can you disable it?
Ok when i enable the “inline js” it works. But i would prefer to disable it because of the cache.
Hmm … then I guess you’re “forcing JS in head”?
I think you’ll have to:
* not “force JS in head”
* not “also aggregate inline JS”
* optionally exclude wp-included/js/tinymce/ and probably one (or more) other JS-file (from a plugin that loads tinymce?) from JS autoptimization
No, i don’t force js in head.
Do you have an idea where in the console i can see, which other js is conflicting?
I’m using the sabai directory plug-in.
Thank you for your support!
Can you share an URL to a page that should have tinymce active @domidobb, I’ll have a quick look.
https://
you can log-in via User
-
This reply was modified 8 years, 7 months ago by
domidobb.
well, it looks as though
<script type='text/javascript' src='https://software-search.com/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530'></script>
<script type='text/javascript' src='https://software-search.com/wp-includes/js/tinymce/plugins/compat3x/plugin.js?ver=4603-20170530'></script>
which are there in the un-optimized page are not there when optimized, so it seems as though you might have a problem with the JS optimization exclusions. Can you copy/paste that entire field here @domidobb (and edit your previous post to remove the login info)?
Great!
It worked out. π
Thank you very much!
you’re most welcome @domidobb, happy it works π
enjoy your weekend,
frank
Hi Frank,
after updating the theme. I have the same problem again.
Already tried to change the version/date
wp-includes/js/tinymce/tinymce.min.js?ver=4607-20170918
But still it doesn’t work. How can i find out correct js to exclude?
Thanks
Dominic
versions/ dates as parameter are irrelevant here @domidobb … can you copy/ paste your JS optimization exclusion list here?
OK, can you change that into just;
js/jquery/jquery.js,wp-includes/js/tinymce
(you had wp-included instead of wp-includes and the full script-tags are making things way too complicated π )