PDA

View Full Version : New Posting Features - Spellchecker for WYSIWYG editor, Firefox 2.0


MrNase
10-29-2006, 10:00 PM
The new version of Firefox 2.0 has a spellchecker already build in. :)

Great isn't it? Too bad it doesn't work with the WYSIWYG editor which comes with vB. :(

Scott has posted the code to make it work and I would like to present it to you so that you can take advantage of it. :)

All work was done by Scott MacVicar, I am just re-posting it here so that it doesn't get lost in all the posts at vbulletin.com.


Instructions are simple.

Just open the file clientscript/vbulletin_textedit.js

Find: if (doinit) { this.editdoc.body.contentEditable = true; }
below it add:

this.editdoc.body.spellcheck = true;

You are done! :)

This is already included in the version running at vbulletin.com and the next version of vBulletin will have it also included.

(See the original post here: http://www.vbulletin.com/forum/showpost.php?p=1241982&postcount=9)

bashy
10-30-2006, 07:46 PM
Wow m8 well done, I just reinstalled FF 2.0 as well as the spell checker its actually faster than 1.5 :)

Thanks again for this m8, this will hopefully improve my members experience...

morrow
10-31-2006, 01:22 AM
Spellchecker doesn't seem to have a problem for me using firefox 2.0? I just installed 2.0 went to my site, typed in some misspelled words, and it fixed them all.

AMG021
10-31-2006, 02:04 AM
nice

Hornstar
10-31-2006, 03:45 AM
yeah I had my firefox crash last night, so wanted to see if there was an update and found fire fox 2. what great timing lol, found it has a spell check and it is awesome.

Mecho
10-31-2006, 08:43 AM
Wow .. really great .. Thank u so much

Canis Firebrand
10-31-2006, 11:33 AM
I upgraded my Firefox to 2.0 right after reading this.

As soon as I started typing a post at my site, and misspelled a word, it underlined it and a right click let me pick the proper word.

Snake
10-31-2006, 12:09 PM
Wow thanks man!

perfphysio
11-05-2006, 07:22 PM
i made this simple addition to the template and nothing seems to be happening. I see no referencve to a spell check in the wysiwyg and i typed in a few misspelled words and it did not auto correct them.

I am using firefox 2.0. DO I have to turn on something in firefox itself to make this work?

r5e
11-06-2006, 01:45 AM
Hey, MrNase - thanks for that. Firefox rocks and this new spell check feature in v2 really does it for me. I use vbspell (https://vborg.vbsupport.ru/showthread.php?t=124578) on my forum, which has been a bit problematic, but now there is a much better option. Hopefully when everyone moves to firefox, I can deinstall this mod. :rolleyes: