Tinymce auto spellcheck, without clicking button -


is possible set turn default spell checker on default. without clicking button in toolbar each time?

i using default browser spell checker functionality in browser.

setup: function (ed) { ed.addcommand('mcespellcheckruntime', function() { t = ed.plugins.spellchecker; if (t.mcespellcheckruntimetimer) { window.cleartimeout(t.mcespellcheckruntimetimer); } t.mcespellcheckruntimetimer = window.settimeout(function() { t._done(); t._sendrpc('checkwords', [t.selectedlang, t._getwords()], function(r) { if (r.length > 0) { t.active = 1; t._markwords(r); ed.nodechanged(); } }); }, 3000); //3 seconds }); ed.oninit.add(function(ed){ ed.pasteasplaintext = true; ed.execcommand('mcespellcheckruntime'); }); ed.onkeyup.add(function(ed, e) { ed.execcommand('mcespellcheckruntime'); }); }, 

nope, not possible due fact there many possibilities of using spellchecker in tinymce. user may define on events spellchecker should check (that's did).


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

jquery - Making vertical list scroll on mouse over -

c++ - Accessing inactive union member and undefined behavior? -