bbPress editor not working correctly with Autoptimize
-
Hi,
When i activate the js optimization for the Autoptimize plugin all of the bbPress editor buttons disappear.
Is there a fix for this? perhaps a js script i need to exclude from optimization?
-
Is there a fix for this? perhaps a js script i need to exclude from optimization?
that is very likely to be the correct approach, but I don’t really know bbpress well enough to pinpoint the culprit. you could ask the bbpress-devs which js file(s) should be excluded to fix the editor buttons or, if you can provide me with a login, I can have a quick look on your site?
frank
Hi Frank,
Thanks for replying to my emails. I was able to resolve the issue by excluding the quicktags.min.js file like you suggested.
I replied here so that if other people are experiencing the same issue they can now find the answer to this problem.
Thanks so much for your help with this…much appreciated.
The plugin works great by the way…my site load time has decreased dramatically. Keep up the good work!
Work but Visual Editor dond Load if i click work but dond load alone!
you probably have some troubleshooting to do John2000, have a look at the FAQ for info on how to fix problems by configuring AO.
frank
Hi John200,
do you have solved the problem?
The Link to FAQ doesn´t help me…UPDATE: found a solution in this topic: https://wordpress.org/support/topic/how-to-exclude-visual-editor/
All you have to do is to exclude jQuery and TinyMCE adding those paths:
wp-inludes/js/jquery, tinymce, tinyMCEHi there,
I am having the same problem and I was just wondering if anyone have identified the correct path that we need to exclude to use Autoptimize and bbPress?Thanks in advance.
Andrea-
This reply was modified 9 years, 3 months ago by
Andrea Barghigiani.
Confirm. Buttons do not work in the Visual Editor bbPress
@altcheb; so did you try the solution Andrea found?
Update (again):
I’ve been able to resolve the switch issue for the editor. All I had to do was to remove thequicktags.jsscript from the ones that are optimized in order to get the switch buttons work again.If you have any problem keep this discussion alive!
——————————————–
Actually…
I have to say that even if the problem is half solved I still have problem switching from Visual to Text and back.Any of you have found a solution? I’ve also tried to add the
tinymce.min.jsfile to add specificity but is still not working…I think is some kind of conflict in fact if you check your console you’ll see that each time you press one of those buttons you get the
TypeError: ed is undefinederror.Does anyone have ever solved this problem?
-
This reply was modified 9 years, 2 months ago by
Andrea Barghigiani. Reason: Found a solution to switch between Visual and Text
assisted on a tinymce problem a couple of days ago, it worked with this in the exclusion-list;
wp-inludes/js/jquery, tinymce, tinyMCE, quicktags.min.js, quicktagsL10nyour mileage may vary, indeed the trick is looking at the browser console for JS errors and then look at where the error is located in the Autoptimized file and try to see what file that code orginates from to exclude that.
frank
Hi @futtta,
I would like to understand a bit better how it works your engine to recognize the files to avoid.In your previous string if I insert only
quicktags(with no extension) I should be able to avoid the minification and caching of both:quicktags.jsandquicktags.min.js?Thank you in advance for your answer,
Andreain your previous string if I insert only quicktags (with no extension) I should be able to avoid the minification and caching of both: quicktags.js and quicktags.min.js?
yes 🙂
-
This reply was modified 9 years, 3 months ago by
The topic ‘bbPress editor not working correctly with Autoptimize’ is closed to new replies.