<!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>
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.