Forums

Textarea WYSiWYG editor not working

emmexx 25 Sep, 2018
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 25 Sep, 2018
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}
emmexx 25 Sep, 2018
1 Likes

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
emmexx 05 Nov, 2018
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.[pre]/libraries/cegcore2/assets/editors/tinymce/tinymce.min.js?nocache
/libraries/cegcore2/assets/js/g2.tinymce.js[/pre]
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[br]
micalb61 24 Dec, 2018
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 ??
This topic is locked and no more replies can be posted.