You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Define the required options in WEBSPELLCHECKER_CONFIG:

  • Specify your serviceId. It is a required option for the service activation.
  • Enable autoSearch functionality using the autoSearch parameter.

WEBSPELLCHECKER_CONFIG can be added to any location on a web page before or after the wscbundle.js script. However, if you add wscbundle.js asynchronously, this CONFIG must be added before the script.

<script>
	window.WEBSPELLCHECKER_CONFIG = {
		autoSearch: true,
        serviceId: 'your-service-ID'
   };
</script>

  • No labels