Buy Now
Sign in

Textarea WYSiWYG editor not working

emmexx , September 25 2018
E
emmexx 422
September 25 2018 #380479
Connectivity 6.07 on Joomla 3.8.12.
I add a textarea element (not the fields one, the standalone one) to a form.
When loading the page the rich text editor is missing.
The tinymce libraries are not loaded.
I tried adding them in a custom html view but they are probably loaded in the wrong order and I get a js error in g2.tinymce.js line 2 :
TypeError: $.G2 is undefined
In previous posts Max wrote that the Rich Text Editor feature was working. Did somebody use it?
Should I add/load something to use it?
Or is a working textarea with rich text editor available only in chronoforms?
Thank you
maxx
healyhatman 5.2
September 25 2018 #380488
You seem to be having all sorts of trouble huh
If possible, just make the parts you need in CF and then call them in the appropriate place in your CC event with {chronoform/section:formname/sectionname}
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
E
emmexx 422
September 25 2018 #380490
1
You seem to be having all sorts of trouble huh
Yep!
But do you mean that the rich editor is working for you and for other developers?

If possible, just make the parts you need in CF and then call them in the
appropriate place in your CC event with
{chronoform/section:formname/sectionname}    
I found a simpler workaround.
A custom html is processed too early so I added a javascript element and added the path of the 2 js files to the Files list field. Now the editor is working fine.
maxx
E
emmexx 422
November 05 2018 #381285
Today I updated cfv6 and ccv6 to the latest versions and my workaround, loading the following files in a javascript view Files list, stopped working.
/libraries/cegcore2/assets/editors/tinymce/tinymce.min.js?nocache
/libraries/cegcore2/assets/js/g2.tinymce.js
After trying to understand what changed I installed again CFv6 v. 6.0.20 and textarea wyiswyg editor started working again.
There's probably a problem with the version number of ccv6. In my laptop I found a 6.0.7 file that dates back to april. The download page of ccv6 has a october 14 date for a 6.0.7 version.
bye
maxx
M
micalb61 2
December 24 2018 #382405
I'm having the same problem, editor doesn't show up with both text area with editor enable and loading a test form, the test form alone shows the editor, when loaded into the Connectivity it shows the text area without the editor, I have the last components, what am I doing wrong ??