plugins.spellcheck.checkTextComponent() improvements

Hi all,

There don’t seem to be any way of spell-checking the whole form, or a list of fields. Currently I have to add a spellcheck button per field :frowning:

I suggest the following:

Passing an array of textComponents to plugins.spellcheck.checkTextComponent to spellcheck specific fields.

var args = new Array();
args[0] = elements.field1;
args[1] = elements.field2;
plugins.spellcheck.checkTextComponent(args);

Pass a form to check all fields visible on the form…

plugins.spellcheck.checkTextComponent(forms.myform);