[CLOSED] [#8348] TinyMCE not working in editor text area field in front end only

3 years 2 months ago - 3 years 2 months ago #322572 by systems
Hi, it seems that since the last CB / Joomla update I installed I cannot enter any text using TinyMCE in any of my editor text area fields on any profile via the front end. It works fine in the back end. TinyMCE works fine in front end for Joomla articles. It also works fine in 'profile edit' view.
The recent updates were,
CB 2.4.7+build.2021.01.04.15.02.57.e1fe54f7e
Auto Actions 8.1.0+build.2020.11.30.16.45.41.04a7758cd
Privacy 6.1.0+build.2021.01.04.16.10.32.0705354aa
I have tried in Chrome, Firefox and Edge. Same result.
I did also update to Joomla 3.9.24. about the same time.
I can enter text if I toggle out of TinyMCE.
You help will be much appreciated!
Thanks

Please Log in to join the conversation.

3 years 2 months ago - 3 years 2 months ago #322592 by krileon
That's typically caused by a fatal JS error on the page. Press F12 to open your browsers developer tools. Click the Console tab then refresh the page. Look for any fatal errors. They should be red in the console. Since this is in profile view I assume you mean it's through CB Core Fields Ajax. Please be sure CB Core Fields Ajax is completely up to date as this was fixed some time ago.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 2 months ago - 3 years 2 months ago #322607 by systems
Hi Krileon,
Thanks for your response.
This error appears,
Uncaught TypeError: e.replace is not a function..
file is media/editors/tinymce/tinymce.min.js?ffd8b6eb956a7f490a57dab8e2ef3e8f:13
Appears to be several instances within the file.
I have 4.2.0+build.2021.01.04.16.07.24.2d6021f11 of CB Core Fields Ajax which I believe is current.

Please Log in to join the conversation.

3 years 2 months ago #322633 by krileon
Looks like an error in TinyMCE itself. Seams to be working fine in my tests and on our demo site below.

demo.cbdemosites.com/login-as/user?demo=615

Please be sure Joomla itself is completely up to date and clear Joomla cache then retry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 2 months ago #322683 by systems
Hi Kyle,
I had Joomla up to date and did try clearing Joomla cache but that did not help.
I have been installing different builds on a dev site and have discovered the following for TinyMCE

2.4.7+build.2021.01.13.21.19.36.4c90345f9 not working
2.4.7+build.2021.01.04.15.02.57.e1fe54f7e not working
2.4.7+build.2021.01.01.03.24.18.d30e897c9 not working
2.4.7+build.2020.12.30.21.25.07.3c3699129 not working
2.4.7+build.2020.12.29.16.56.07.42db7926c not working
2.4.7+build.2020.12.28.17.19.46.02175cd7d not working
2.4.7+build.2020.12.23.22.30.58.5db5d78ac good
2.4.7+build.2020.12.17.19.36.18.b7cc1f577 good

So it would seem the problem started with 2.4.7+build.2020.12.28.17.19.46.02175cd7d

I did also try disabling every third party plugin except CB but this did not help.
I cleared Joomla cache after every change or install.
I found after disabling plugins the error mentioned previously was gone but the problem still existed. At one stage I had zero errors showing in developer tools but the problem was still present.
I also changed the CB user profile menu item to the prostar template but this did not help.
Any other ideas?

Please Log in to join the conversation.

3 years 2 months ago #322684 by systems
Hi Kyle,
Just to add, I tried the Editor field at the link you provided (demo.cbdemosites.com/login-as/user?demo=615) and I am experiencing the same issue there too.
See screen recording here.
drive.google.com/file/d/19fv_shXpOLCcCoELWw29tcfSaT4y1Wvn/view?usp=sharing

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.363 seconds

Facebook Twitter LinkedIn