Hi Winona,
Sorry for the delay.
Please have a look at the tinymce.xml sample (https://github.com/AlainCouthures/declarative4all/blob/master/public/samples/tinymce.xml).
Because of compatibility issues between tinymce versions, it is required to add data-uri and data-version attributes to allow XSLTForms to properly manage the rich text editors. In the sample:
<script type="text/_javascript_" src="" data-uri="http://www.tinymce.com" data-version="4.5.3">/* */</script>
<script type="text/_javascript_" src="" data-uri="http://www.tinymce.com" data-version="4.5.3">/* */</script>
In next release, XSLTForms will also check "tinymce.majorVersion + '.' + tinymce.minorVersion", as suggested by ChatGPT ;-)
After upgrading the repeat test case accordingly, it works as expected for me!
Thank you for your feedback!
--Alain
Le 17/12/2023 19:30 CET, Winona Salesky <[email protected]> a écrit :Hi All,_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
I'm looking into adding a rich text editor to my textarea's. I was trying to experiment with this example:But have had some trouble getting it working. My use case would include multiple textarea's almost all of them appearing in a nested repeat structure. I found this on the list (https://sourceforge.net/p/xsltforms/mailman/xsltforms-support/thread/A6AB89C8-E8E0-49C3-965F-65464934B94D%40basex.org/#msg30316903) which suggests repeats could be a problem. Has this been solved? Has anyone integrated a text editor into their XForms? I can mock up a simplified example of what I am trying to do if that would be useful, but I'm mostly looking for examples for how someone else may have solved this issue.Thanks!-Winona
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
