- Posts: 64
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Tiny MCE not working for some questions
2 weeks 22 hours ago #241318
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
I don't know how anyone will be able to help without any of the pertinent information.
Your LimeSurvey information.
The code you tried.
A sample survey.
Please Log in to join the conversation.
2 weeks 22 hours ago - 2 weeks 22 hours ago #241319
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
Your LimeSurvey version: LimeSurvey Cloud
Version 3.28.51
Own server or LimeSurvey hosting: LS
Survey theme/template: BITCNI_extends_vanilla
===
Thanks for your response. Details above.
This is the URL for my post:
forums.limesurvey.org/forum/can-i-do-thi...r-respondents#240291
[/code]
Version 3.28.51
Own server or LimeSurvey hosting: LS
Survey theme/template: BITCNI_extends_vanilla
===
Thanks for your response. Details above.
This is the URL for my post:
forums.limesurvey.org/forum/can-i-do-thi...r-respondents#240291
Code:
[code]<script src="https://cdn.tiny.cloud/1/hj70b4z4olowabjv9ejw5wqd3safsd45h01kzlpco8tcww8e/tinymce/6/tinymce.min.js" referrerpolicy="origin"></script><script> tinymce.init({ selector:'#question{QID} textarea.form-control', plugins: 'code' }); </script><script> $(function() { $("label[for=answer{MR06}comment].control-label").text("Please provide detail of how you meet the option you have selected, as well as how you meet the preceding criteria."); }); </script>
Last edit: 2 weeks 22 hours ago by BITCNI.
Please Log in to join the conversation.
2 weeks 22 hours ago #241320
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Tiny MCE not working for some questions
And did you include this code in each of your questions of the group`?
As I wrote before
insert this
[/code]
only once in a group.
As I wrote before
insert this
Code:
[code]<script src="https://cdn.tiny.cloud/1/hj70b4z4olowabjv9ejw5wqd3safsd45h01kzlpco8tcww8e/tinymce/6/tinymce.min.js" referrerpolicy="origin"></script>
only once in a group.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
2 weeks 21 hours ago #241324
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
I tried it both ways:
If I paste it into only 1 question, then only 1 question has the Tiny MCE.
If I paste it into every question, then no-one can type into any box except the final question.
Perhaps I missed something or haven't understood properly?
Sorry.
If I paste it into only 1 question, then only 1 question has the Tiny MCE.
If I paste it into every question, then no-one can type into any box except the final question.
Perhaps I missed something or haven't understood properly?
Sorry.
Please Log in to join the conversation.
2 weeks 21 hours ago #241325
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Tiny MCE not working for some questions
I don't see a sample survey (.lss file).
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.
2 weeks 20 hours ago #241329
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
Thanks, Tony
The issue now seems to be resolved. I had added the script (which is actually 3 scripts) into each question, but it only needed to be added with all 3 scripts to the first question in each group. All the other questions only needed 2 of the scripts. Once I deleted the top script from each question, it started to work.
Many thanks for your reply.
The issue now seems to be resolved. I had added the script (which is actually 3 scripts) into each question, but it only needed to be added with all 3 scripts to the first question in each group. All the other questions only needed 2 of the scripts. Once I deleted the top script from each question, it started to work.
Many thanks for your reply.
Please Log in to join the conversation.