Page History
...
Option B. Initializing using Inline Data Attributes
In general, the initialization of WSC Proofreader using inline attributes is a good option if you want to have a single script with the base options.
Code Block | ||||
---|---|---|---|---|
| ||||
<script
data-wsc-serviceid="your-service-ID"
data-wsc-autosearch="true"
data-wsc-lang="en_US"
data-wsc-enableGrammar="true"
src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js">
</script> |
In order to define an additional option as an inline data attribute, use 'date-wsc-option_name', e.g. 'data-wsc-lang'. You can find the full list of options available here.
...
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
...
Info |
---|
Check a demo page with WebSpellChecker Proofreader on our website. |
...