BeyondGrammar (by ProWritingAid) allows you to integrate grammar checking, spell checking, style improvements, and terminology checking into the Redactor 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.
<!DOCTYPE html>
<html>
<head>
<title>Redactor</title>
<meta charset="utf-8">
<!-- redactor css -->
<link rel="stylesheet" href="/your-folder/redactor.css" />
</head>
<body>
<!-- element -->
<textarea id="content">...</textarea>
<!-- redactor js -->
<script src="/your-folder/redactor.js"></script>
<!-- BeyondGrammar js -->
<script src="https://prowriting.azureedge.net/beyondgrammar/1.0.195/dist/bundle.js"></script>
<!-- plugin js -->
<script src="/your-folder/plugins/beyondgrammar.js"></script>
<!-- call -->
<script>
$R('#content', {
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>
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:
Note: To use this plugin you will need to sign up for a trial license.