Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
themeEmacs
<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
IN:_include_wsc_proofreader_cloud_initialization_autosearch_inline_data_attributes
IN:_include_wsc_proofreader_cloud_initialization_autosearch_inline_data_attributes
nopaneltrue

...

Info

Check a demo page with WebSpellChecker Proofreader on our website.

...