Page History
...
8. Add the wproofreader field and its options to ClassicEditor.defaultConfig:
In case of the Cloud version, serviceId and srcUrl are mandatory options.
Code Block | ||||
---|---|---|---|---|
| ||||
ClassicEditor.defaultConfig = {
...,
wproofreader: {
serviceId: 'your-service-ID',
srcUrl: 'https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js'
}
} |
In case of the Server-based version, you need clearly define path to the WebSpellChecker/WProofreader server:
Code Block | ||||
---|---|---|---|---|
| ||||
ClassicEditor.defaultConfig = {
...,
wproofreader: {
serviceProtocol: 'https',
serviceHost: 'your-host-name',
servicePort: '2880',
servicePath: '/',
srcUrl: 'https://your-host-name/virtual-directory/wscbundle/wscbundle.js'
}
} |
...