BeyondGrammar

BeyondGrammar (by ProWritingAid) allows you to integrate grammar checking, spell checking, style improvements, and terminology checking into the Redactor X editor. Suggestions are underlined and you can quickly accept them. As you type, new issues are identified and underlined. Other functionality includes: personal dictionaries, integrated thesaurus, and custom replacements.

    Demo

    Code

    <!DOCTYPE html>
    <html>
        <head>
            <title>Redactor X</title>
            <meta charset="utf-8">
    
            <!-- css -->
            <link rel="stylesheet" href="/your-folder/redactorx.css" />
        </head>
        <body>
            <!-- element -->
            <textarea id="entry">...</textarea>
    
            <!-- BeyondGrammar js -->
            <script src="https://prowriting.azureedge.net/beyondgrammar/1.0.195/dist/bundle.js"></script>
    
            <!-- js -->
            <script src="/your-folder/redactorx.js"></script>
            <script src="/your-folder/plugins/beyondgrammar.js"></script>
    
    
            <!-- call -->
            <script>
            RedactorX('#entry', {
                plugins: ['beyondgrammar']
                beyondgrammar: {
                    service: {
    
                        //You should signup for getting this key
                        apiKey: "YOUR API KEY",
    
                        //[optional] You can specify it for permanent access
                        // to your settings and dictionaries
                        //userId: "<YOUR_USER_ID>",
    
                        //[optional] path to js file with BeyondGrammar Core
                        //sourcePath : "",
    
                        //[optional] path to service which provides grammar checking
                        // url shouldn't contain "/" in the end
                        serviceUrl: "https://rtg.prowritingaid.com",
                    },
                    grammar: {
                        languageFilter: ["en-US", "en-GB"],
    
                        //[optional] Default language [en-US, en-GB],
                        languageIsoCode: "en-US",
    
                        //[optional] checking Style. By default is "true"
                        checkStyle: true,
    
                        //[optional] checking Spelling. By default is "true"
                        checkSpelling: true,
    
                        //[optional] checking Grammar. By default is "true"
                        checkGrammar: true,
    
                        //[optional] Show thesaurus information by double click, by default true
                        showThesaurusByDoubleClick: true,
    
                        //[optional] Showing context thesaurus,
                        // works only if showThesaurusByDoubleClick = true, by default false
                        showContextThesaurus: false,
                    }
                }
            });
            </script>
        </body>
    </html>

    Usage

    Why choose BeyondGrammar?

    Over 600,000 people use our state-of-the-art grammar checker. It contains many unique features that you won't find in other solutions. These include:

    • Entity spellchecking. We check over 2 million people, places, teams, towns and other terms. It highlights where you may have incorrectly spelled a name. e.g. Andy Murrey => Andy Murray.
    • Contextual spelling. We use artificial intelligence to highlight where you may have used a word in the incorrect context. It's easy to mistype a word or slip a homonym in the wrong place, but we will highlight these, e.g. "He is my best fiend in all the world." or "I love my knew shoes." Most other grammar checkers just use simple rules that only catch a fraction of possible mistakes.
    • Style checking. We include over 15,000 potential style improvements for your text to ensure that it's not only grammatically correct, but also well-written and punchy.
    • Contextual thesaurus. Our contextual thesaurus looks at the context of the word you want to look up. It then limits the suggestions to just those so you can quickly pick the right synonym. There's also a full thesaurus option if you prefer that.

    Note: To use this plugin you will need to sign up for a trial license.