Hi,
In the quiz project we have the choice question type with 19 wysiwyg enabled textareas(in fieldsets, only three needed to make simple questions). We also have an option to add more using ajax.
This also add 19 format selectors to our form. We would prefer only having one or two. The form is complex enough as it is...
I don't think it is possible to tell our 19 text areas to all listen to one master format selector, or is it? This feature would be extremely welcome for forms with many wysiwyg enabled textareas...
Comments
Comment #1
twodI see the problem, but using a single format selector for all textareas is a bit out of scope for this module. If some other module implements that functionality, then maybe we could work with it.
Comment #2
sunSomething like this might be possible in the upcoming Wysiwyg 3.x, since we have to slightly detach the attachment/detachment of editors from the input format selector, because that looks entirely different in D7. With Wysiwyg 2.x, there is no way to accomplish this easily. You could try with a custom version of Drupal.behaviors.attachWysiwyg() though.
However, I'd say that 19 textareas in a single form are moot on its own in the first place. I'd guess that refactoring that form/UI would most probably make more sense.
Comment #3
falcon commentedOk,
I do of course agree with you that 19 textareas in one form is way too much. The problem is to find a good optional way to do it. All textareas need to be somewhere. There are one for the question and one for each alternative. There are two additional textareas for each alternative. Feedback if chosen and feedback if not chosen. The feedback textareas are hidden in a fieldset(collapsed by default) inside each alternative fieldset. So there are three textareas for each alternative. And having them all viewable and editable on one page has many big advantages for our users. (And they all needs to be wysiwyg because there are plenty of use-cases where you would want to insert images and formatting into the different kinds of textareas.)
We have among other things considered making the form multistep, or spreading it out on different tabs, but not beeing able to edit all alternatives and feedback in one page will certainly make issues pop up...
We'll work out a good solution, and I'm sure there will be even better support for multiple wysiwyg editors in one form in upcoming versions.
Keep up the good work! I'm looking forward to try out wysiwyg 3.x!