Initialize using npm SDK
Install the package
npm install @webspellchecker/wproofreader-sdk-jsImport and configure
import WProofreaderSDK from '@webspellchecker/wproofreader-sdk-js';
WProofreaderSDK.configure({
autoSearch: true,
lang: 'en_US',
serviceId: 'your-service-ID'
});import WProofreaderSDK from '@webspellchecker/wproofreader-sdk-js';
WProofreaderSDK.configure({
autoSearch: true,
lang: 'en_US',
serviceProtocol: 'https',
serviceHost: 'your_host_name',
servicePort: '443',
servicePath: 'wscservice/api',
srcUrl: 'https://your_host_name/wscservice/wscbundle/wscbundle.js'
});Force initialization on a specific element
TypeScript support
Related resources
Last updated
Was this helpful?

