Alternatively, you can create a *.js file (e.g. wscbundle_config.js) with WEBSPELLCHECKER_CONFIG on your end and then load it from the file on your web page as shown in example below. This is an example of the wscbundle_config.js file with WEBSPELLCHECKER_CONFIG. window.WEBSPELLCHECKER_CONFIG = {
autoSearch: true,
lang: 'en_US',
serviceId: 'your-service-ID'
}; |
Here is an example of the script that you need to add on your web page with the path to wscbundle_config.js. <script type="text/javascript" src="[path_to_config]/wscbundle_config.js"></script> |
|