- Posts: 90
- 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
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
1 year 1 month 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.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month ago - 1 year 1 month 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: 1 year 1 month ago by BITCNI.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12888
- Thank you received: 3965
1 year 1 month 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.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month 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.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
1 year 1 month 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.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month 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.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month ago #241330
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
Oh, I see the problem. I'm so sorry: there are 3 scripts, but only the first question in each group needs all 3. All the other questions only need 2 scripts, as the first of the 3 is ommitted.
Thank you for clarifying, and I'm so sorry for missing that part of your post/and for misundestanding it.
Thanks so much for your help, and sorry again.
Thank you for clarifying, and I'm so sorry for missing that part of your post/and for misundestanding it.
Thanks so much for your help, and sorry again.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
1 year 1 month ago #241333
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Tiny MCE not working for some questions
Seems like you "broke" the forum with posting this last code. Let's see if this appears on the page now.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month ago #241334
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
Thanks again. Can I ask one more related question, please?
If we buy the TinyMCE plugin so that people can Paste from Word, do I have to change the code, or will it automatically work?
Thanks again!
If we buy the TinyMCE plugin so that people can Paste from Word, do I have to change the code, or will it automatically work?
Thanks again!
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
1 year 1 month ago - 1 year 1 month ago #241337
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
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 year 1 month ago by tpartner.
Please Log in to join the conversation.
- BITCNI
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 90
- Thank you received: 0
1 year 1 month ago #241339
by BITCNI
Replied by BITCNI on topic Tiny MCE not working for some questions
I already have an API key for the free version. Do you think they'll provide a new API key?
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
1 year 1 month ago #241342
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Tiny MCE not working for some questions
Why not ask them?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.