GithubHelp home page GithubHelp logo

jquery-spellchecker's People

Watchers

 avatar

jquery-spellchecker's Issues

JSON ParserError on 'addToDictionary' functionality.

What steps will reproduce the problem?
1. Type poorly spelled words in a text box
2. Click "Check Spelling"
3. Click a word in the suggest box
4. Click "Ignore Forever"
5. Click Confirm on "Are you sure" box

What is the expected output? What do you see instead?
Expected: Words are added to the dictionary and no longer show up as misspelled

Actual: Words are added to the dictionary, but "Sorry, there was an error 
processing the request" alert pops up.

What version of the product are you using? On what operating system?
r142

Please provide any additional information below.

In order to troubleshoot, I added XHR, status, and error (as defined in the 
function on 348 of jquery.spellchecker.js) and I get Invalid JSON: Array and 
parsererror as the errors.

Nothing I've done to tweak either the javascript or the spellchecking.php seems 
to solve it, so I'm sure it's something over my head especially since JSON 
isn't my forte. 

This is especially frustrating since it seems to be FUNCTIONING 100% properly. 
I have no issues whats-so-ever with any of it properly working, but this error 
is really driving me crazy. I've resorted to simply commenting out the error 
alert until I get an idea of a quick-fix or a new release that might solve this 
issue.

Thanks!

Original issue reported on code.google.com by [email protected] on 25 Aug 2011 at 9:47

Not working at alll

What steps will reproduce the problem?
1. i have done SVN checkout on my htdocs folder
2. i run with the localhost of my xamp server
3. it not working and displaying error mesg "Sorry, there was an error 
processing the request."

What is the expected output? What do you see instead?
it has to give unspell words, but it is ginging above error

What version of the product are you using? On what operating system?
latest version of ur SVN checkout, Windows

Please provide any additional information below.
i have tried alot but not getting wat is the problem in firebug 
checkspelling.php responce is no any thing
post is ...
engine  google
lang    en
text    asdfdsf
source: text=asdfdsf&engine=google&lang=en

can u pliz help me...
[email protected]...

Original issue reported on code.google.com by [email protected] on 29 Apr 2011 at 11:15

Badwords appear when the last word is added to the dictionary

What steps will reproduce the problem?
1. Have 3 misspelled words
2. Ignore the first 2 words then add the last word to the dictionary
3. The misspelled words appear again without the added word

What is the expected output? What do you see instead?
The expected output is for the misspelled words list to be hidden. What I get 
is the misspelled words reappearing

What version of the product are you using? On what operating system?
XP and Win7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Mar 2011 at 6:47

Remove problem

What steps will reproduce the problem?
1. Using .spellchecker("remove");

What is the expected output? What do you see instead?
I tried using this plugin to check the spelling of several input but I 
encountered a problem due to the multi-instantiation, which forced me to delete 
the previous instantiation when I create a new one.
I found that removing it was not done properly and I found the problem :

Error lines 320-321 : using this.domObj => must be replaced by this.$domObj

I hope it will help you


Original issue reported on code.google.com by [email protected] on 20 Oct 2010 at 8:24

Regular expression for replace fails with special characters

What steps will reproduce the problem?
1. Type "color(yellow)" into text area
2. Run spellcheck through pspell

What is the expected output? What do you see instead?

JavaScript throws an error:
Uncaught SyntaxError: Invalid regular expression: 
/([^a-zA-Z\u00A1-\uFFFF])(colored(yellow)([^a-zA-Z\u00A1-\uFFFF])/: 
Unterminated group 

on line 97.


What version of the product are you using? On what operating system?

Ubuntu Linux x64 - Chrome version Version 22.0.1229.94


Please provide any additional information below.

To resolve this issue the variable replaceWord needs to be escaped properly for 
the regular expression. 

I added this line to 96:

replaceWord = (replaceWord+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");

Original issue reported on code.google.com by [email protected] on 17 Oct 2012 at 4:05

Replacing sequence of identical bad words no worky

What steps will reproduce the problem?
1. Enter 'fartz fartz fartz fartz fartz fartz fartz fartz fartz fartz
fartz' in to a text area
2. Use spellchecker to get the suggested word 'farts'
3. Click farts

What is the expected output? What do you see instead?
Expected: farts farts farts farts farts farts farts farts farts farts farts
Actual:farts fartz farts fartz farts fartz farts fartz farts fartz farts

What version of the product are you using? On what operating system?
SVN rev. 134

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Feb 2010 at 8:03

Custom messages and l10n

The messages like "Ignore all" are for English-speaking users.
Here is a quick patch to allow to customize messages.

Then one can translate the interface to French with:
.spellchecker({
  [...]
  messages: {
    ignoreWord: '<a href="#">Ignorer ce mot</a>',
    ignoreAll: '<a href="#">Ignorer tout </a>',
    ignoreForever: '<a href="#" title="Toujours ignorer ce mot (l\'ajouter 
au dictionnaire)">Toujours ignorer ce mot</a>',
    addToDictionary: 'Etes-vous certain de vouloir ajouter "{word}"  au 
dictionnaire ?'
}

Original issue reported on code.google.com by mytskine on 26 Apr 2010 at 11:04

Attachments:

Large posted data does not spell check properly

What steps will reproduce the problem?
1. Send a large chunk of data and put a badly spelt word on purpose into it
2. The badly spelt word is not identified
3.

What is the expected output? What do you see instead?

Get a success message

What version of the product are you using? On what operating system?
 0.1b -firefox 3.6 winblows xp

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Mar 2010 at 11:13

Is this project abandoned?

Hello,

Been wondering about the status of this project? Has it been abandoned?

What steps will reproduce the problem?
1. Reading the issue queue

What is the expected output? What do you see instead?
Active issue queue

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Oct 2012 at 9:34

Issue with misspelling of simple words

What steps will reproduce the problem?
1. using demo, enter "th as in this, that and the other thing." into the box.
2. Replace th with the.
3.

What is the expected output? What do you see instead?
Result is "the as in theis, theat and thee otheer theing." notice the extra e 
in this, that, the, other and thing. I should get "the as in this, that and the 
other thing."

What version of the product are you using? On what operating system?
All including latest demo

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Dec 2011 at 5:45

Does not work if jquery is replaced with local file

What steps will reproduce the problem?
1. download jquery1.4.2.js attached with this issue and save as jquery-1.4.2.js 
file in same folder as example.html
2. replace <script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> 
with <script type="text/javascript" src="jquery-1.4.2.js"></script>
3. reload the application and try spell check

What is the expected output? What do you see instead?
Did not work, got a blank screen

What version of the product are you using? On what operating system?
IE 8, Windows XP, 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 12:45

Attachments:

Requests optimization

What steps will reproduce the problem?

1. Now spellchecker sends one request to server to get a list of incorrect
words, and then a request for each incorrect words to bring up the suggest.
It's takes more time than only one request, that would return a list of
words and their suggests (like in Googespell
http://orangoo.com/labs/GoogieSpell/).

Is it possible modify spellchecker send only one request?

Original issue reported on code.google.com by [email protected] on 9 Feb 2010 at 6:15

Getting secure http dialog box in IE when using https when included in wysiwyg plugin

What steps will reproduce the problem?
1. Get https://github.com/akzhan/jwysiwyg (Wysiwyg plugin)
2. Created a plugin to include spell check
3. In IE, getting annoying secure dialog box.

What is the expected output? What do you see instead?
All the functionality works, I used fiddler and firebug to make sure there is 
no call to http.
I removed spell check and annoying dialog is not seen. As soon as I put it 
back, the annoying dialog comes up.

Here is what I have inside wysiwyg instantiation.

 $(".rte").wysiwyg("addControl", "spellcheck", {
        groupIndex: 11,
        icon: '/scripts/images/spellcheck.png',
        tooltip: 'Spell Check',
        exec: function() {
            $(this.editorDoc.body).spellchecker({
                     wordlist: { 
                       action: "after", element: $(this.editor)}
            }).spellchecker("check");
        }
    });



What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.

I am using your spell check plugin in asp.net website, therefore, instead of 
php page, I have ashx page that handles the spell checking from google. I 
verified the google link, it goes to https site. So all look good there. 

I repeat all the functionality works, the only issue I have is that annoying 
dialog.

Thanks for looking into it.
Have a good day.

Original issue reported on code.google.com by [email protected] on 4 Mar 2011 at 6:34

Place all text from textarea after textarea with red underlined incorrect words in it

What steps will reproduce the problem?
1. Add jquery.spellchecker.js r142 for multiple textareas.
2. After spell checking after textareas appear only red incorrect words.
3. Can't use options to place all text after textarea with red underlined 
incorrect words.


What is the expected output? What do you see instead?

Need to put all text from textarea after it with red underlined incorrect 
words, when click on word open suggestion box.


What version of the product are you using? On what operating system?

jquery.spellchecker.js r142 for multiple textareas, Firefox 12.0, Windows 7.


Please provide any additional information below.

See attachment.

Original issue reported on code.google.com by [email protected] on 3 May 2012 at 1:11

Attachments:

Use with Classic ASP

Not sure where else to put this. 

I was wondering if there is a way to get this plugin to work with classic ASP 
(VBScript). Everything I try results in "Sorry there was an error processing 
the request". I have seen the ASP .Net conversion using C#, but that is little 
help. 



Original issue reported on code.google.com by [email protected] on 11 Jun 2010 at 9:53

Appearence of Suggested words menu causes page to scroll to top

What steps will reproduce the problem?
1. Place a spell checker on a text area that shows if the page is scrolled
down.
2. Run spell check to get a list of bad words
3. Choose a bad word to see its suggestions

What is the expected output? What do you see instead?
Expected: A list of suggested words appears without the page scrolling
Actual: The suggested words menu appears, but the page scrolls to the top.
I think it might be because the focushelper isnt nested inside of the
spellcheck div.

What version of the product are you using? On what operating system?
SVN Rev 134. OSX 10.5

Please provide any additional information below.
Tested in Firefox 3.5.8 on OSX, and IE7 on Windows XP SP3.

Original issue reported on code.google.com by [email protected] on 23 Feb 2010 at 6:41

Unable to handle spell checking of multiple fields

What steps will reproduce the problem?
1. Add more than 1 textarea
2. jQuery("textarea:visible").each( function() {
            jQuery(this).spellchecker({
                url: "spell/checkspelling.cfm",
                lang: "en",
                engine: "google",
                suggestBoxPosition: "above"
            })
            .spellchecker("check");
        });

What is the expected output? What do you see instead?
Expected badwords under each textarea but instead it just gives me one for
the last textarea.

What version of the product are you using? On what operating system?
latest, firefox

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Feb 2010 at 9:58

First and last word of HTML fields are not highlighted when misspelled

What steps will reproduce the problem?
1. Add spellchecker to an HTML field with word highlighting enabled and the 
first and last word misspelled

What is the expected output? What do you see instead?
The misspelled words, when first or last are not highlighted nor are the links 
enabled.

What version of the product are you using? On what operating system?
I am using the most recent revision on Firefox 3.6 and IE7.

Please provide any additional information below.
Its because the regular expression used for highlighting only matches words 
with spaces on either side. I changed it to match whether the spaces are there 
or not:
97: new RegExp('(\s)*('+replaceWord+')(\s)*','g'),


Original issue reported on code.google.com by [email protected] on 20 Aug 2010 at 10:02

Ignores the wrong words written in captial letters.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
its works gd only with words that is written in small letters. if the wrong 
word is written in caps , it simply ignores that words and show the alert box 
there is no incorrect spelt words. it should work with all words either written 
in caps or small letters.

What version of the product are you using? On what operating system?
this issue is coming in all versions.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 May 2012 at 7:42

JHTMLArea Integration Bug

What steps will reproduce the problem?
1. Run spell check on some badly spelt words (i used your example integration 
for JHTMLArea). 
2. Select a word to respell - Ignore All does not hide the word


What is the expected output? What do you see instead?

Expected Ignore All to hide like on other editors, nothing appears to happen, 
word remains in red + clickable.

What version of the product are you using? On what operating system?

Product Version 0.70
Win XP, Win Vista, Win 7 IE8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Aug 2012 at 8:36

Not working

What steps will reproduce the problem?
1. Default setup on blank page

What is the expected output? What do you see instead?
Return of miss-spelled words

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.
I have tried various implementations of this and all seem to return an
alert box with "Sorry, there was an error processing the request". Is this
plugin still working or has google blocked the service or similar?

Original issue reported on code.google.com by [email protected] on 18 Jan 2010 at 11:24

Remove Spelling button, removes all the mispelled words

What steps will reproduce the problem?
1. Go to page: http://spellchecker.jquery.badsyntax.co.uk/
2. Click "Check Spelling"
3. Click "Remove Spelling"

What is the expected output? 

Expect to see the text unmodified/unchanged

What do you see instead?

All the words that highlighted red have been removed from the text body.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Mar 2011 at 10:39

Bad words show even after manually correcting the spellings

What steps will reproduce the problem?
1. Go to http://spellchecker.jquery.badsyntax.co.uk/
2. Select "Textarea Example"
3. Click "Check Spelling", bad words will be listed.
4. Now manually correct all the spelling mistakes.
5. Click "Check Spelling", notice that the bad words are still present.

What is the expected output? What do you see instead?
Bad words shouldn't be displayed after step 5.

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.
The fix would at the beginning of check function. 

check: function(callback){
         $(".spellcheck-badwords").remove();
........
........
........ 
}

This would ensure that the bad words container is always rebuilt.

Original issue reported on code.google.com by [email protected] on 20 Jul 2011 at 6:49

Does not word with non-ascii chars

What steps will reproduce the problem?
1. Try with any word with non-ascii chars (é,ç,ñ)
2.
3.

What is the expected output? What do you see instead?

When removing the punctuation, non-ascii chars are replaced by spaces.

I've managed to modify so I can use it for Catalan, but it would be a good 
idea to make it UTF-compliant

Replace

var self = this, node = this.$domObj.get(0).nodeName, tagExp = '<[^>]+>', 
puncExp = '^\\W|[\\W]+\\W|\\W$|\\n|\\t|\\s{2,}';

With

var lletres = '[^\\wàéèíóòúÀÉÈÍÓÒÚçÇ·ŀ]'
var self = this, node = this.$domObj.get(0).nodeName, tagExp = '<[^>]+>', 
puncExp = 
'^'+lletres+'|'+lletres+'+'+lletres+'|'+lletres+'$|\\n|\\t|\\s{2,}';



Original issue reported on code.google.com by xavi.ivars on 10 Feb 2010 at 5:48

Pspell result errors

What steps will reproduce the problem?
1. regular install
2. enter text in textarea
3. get popup "sorry there was an error processing your request"

What is the expected output? What do you see instead?
get the box of misspelled words, error box

What version of the product are you using? On what operating system?
current 

Please provide any additional information below.
PHP Warning:  pspell_check() [<a 
href='function.pspell-check'>function.pspell-check</a>]: 0 is not a PSPELL 
result index in /www/devel/jquery-spellchecker/checkspelling.php on line 46

Original issue reported on code.google.com by [email protected] on 5 Sep 2012 at 2:18

Spellchecker breaks when used more than once

What steps will reproduce the problem?
1. Type (or copy and paste): "I really ace at speelling. "
2. click spellcheck. Correct the spelling of "speeling".
3. Type (or copy and paste): "Oh yes I uam."
4. click spellcheck. Spellchecker will not show list of correct spellings
for "uam".

What is the expected output? What do you see instead?
You should see the drop-down list with suggestion corrections for the
spelling of "uam", no drop-down appears.

What version of the product are you using? On what operating system?
I'm using the most recent version of the spellchecker. This error happens
on both Firefox and IE8 on Windows Vista (other browsers haven't been
tested yet).

Please provide any additional information below.
The error appears to be JS based as you can see the returns from the
webservice call for alternative spellings of "uam".

From viewing the code the issue appears to be in the buildSuggestBox
function (L171). The for loop which adds the links is reached however the
links are never seen in the browser.

Original issue reported on code.google.com by [email protected] on 3 Feb 2010 at 2:26

Parser Error

What steps will reproduce the problem?
1. Attempting to run the simple demo locally on my machine
2. Clicking the check spelling button
3.

What is the expected output? What do you see instead?
Excepted: to behave like the demo. Actual: "Sorry there was an error processing 
the request" 

What version of the product are you using? On what operating system?
Latest, Win 7 Pro. Latest version of PHP

Please provide any additional information below.

I am trying to get this up and running, but I always get the "Sorry, there was 
an error processing the request" message. 

Through Firebug I found that XHR's response text is "" and statusText is "OK". 
The 'Status' comes back as a parser error. 

Any help would be appreciated.  



Original issue reported on code.google.com by [email protected] on 17 Jun 2010 at 6:01

Little big fail

There are a fail, that dont make the correct spell. Google give you only 5 
results, so... google give you the literal spell, or context spell. The best 
way for make a spell its giving the context spell.

The better will be that the script have in atribute some before and after 
words, and send this to the api.

And IMPORTANT, when give the result, if some word of this context is in other 
context atribute of other wrong word in the list, need change, because if no 
make this the api will return the last wrong word.

Original issue reported on code.google.com by [email protected] on 2 Aug 2011 at 10:40

Problems in IE 8

What steps will reproduce the problem?
1. It does work in IE but work in Chrome/Mozilla
2. I have used it asp.net (Visual Studio 3.5 )
3. I am using IE 8 in windows ( xp )




Original issue reported on code.google.com by [email protected] on 1 Jun 2010 at 9:58

Bug with suggestbox

What steps will reproduce the problem?
1. I try to use this plugin on my local computer with HTML element. When I
click on wrong word, plugin returns suggest (I see it in Firebug), but
layer spellcheck-suggestbox stays hidden:
<div class="spellcheck-suggestbox" style="width: auto; left: 341px; top:
245.5px; display: none;">

I'm using jQuery 1.4.1 and last version of jquery.spellchecker.

This is my code (I found it here ttp://spellchecker.jquery.badsyntax.co.uk/)

<script>
// check the spelling on element
$("#check-html").click(function(e){
  e.preventDefault();
    var self = this;
        if ($(this).html().match(/^remove/i)) {
          $("#content").spellchecker("remove");
          $(this).html("Check Spelling");
        } else {
          $(".loading").show();

          $("#content")
            .spellchecker({
            engine: $("#service").val()
          })
          .spellchecker("check", function(result){
            $(self).html("Remove Spelling");            
            // spell checker has finished checking words
            $(".loading").hide();
           // if result is true then there are no badly spelt words
           if (result) {
             alert('There are no incorrectly spelt words.');
           }
         });                    
       }
  });   
</script>

Original issue reported on code.google.com by [email protected] on 10 Feb 2010 at 8:38

CKEditor still have issue #15

What steps will reproduce the problem?
1. http://jquery-spellchecker.badsyntax.co/ckeditor.html
2. Type:
elementyy test duck elementyt
teste.
doctor duck
3.

What is the expected output? What do you see instead?
elementyy , elementyt , teste should be highlighted.

What version of the product are you using? On what operating system?
Crome 33

Please provide any additional information below.

Redactor is fine with this test.

Original issue reported on code.google.com by [email protected] on 21 Mar 2014 at 8:59

Misspelled words are deleted from the text after hitting "remove spelling"

What steps will reproduce the problem?
1. Open the spellchecker demo page http://spellchecker.jquery.badsyntax.co.uk/
2. Hit "Check Spelling"
3. Hit "Remove Spelling"

What is the expected output? What do you see instead?

Instead of showing the misspelled words without underlines and suggestion 
popups, they are simply deleted from the text. If you hit "check spelling" 
another time, an alert says that no mistakes have been found.




Original issue reported on code.google.com by [email protected] on 10 Feb 2011 at 10:35

Google Check Spelling is not working when text contains '&'

Hi, 
I am facing the problem with '&' (ampersand) , when my text contains the 
character '&' the google check spell is not working but it is working fine when 
i removing the '&' from text.

check spelling is not working for the below Text:
Madison Short Sleeve Organic Babydoll Tee Shirt &  Victory Pump

check spelling is working fine after removing the '&':
Madison Short Sleeve Organic Babydoll Tee Shirt  Victory Pump


Please let me know how can i fix this issue.


Thanks
Srinivas Gade
Email:[email protected]

Original issue reported on code.google.com by [email protected] on 22 Nov 2011 at 1:21

Regular expression problem

Looks like puncExp ('^\\W|[\\W]+\\W|\\W$|\\n|\\t|\\s{2,}') doesn't work 
with words that begin with a german Umlaut like ä,Ä,ü,Ü,ö,Ö. Example for 
such a word: Änderungen.

Original issue reported on code.google.com by [email protected] on 11 Feb 2010 at 8:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.