Versions Compared

Key

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

...

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
languagebash
themeEmacs
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
languagebash
themeEmacs
ClassicEditor.defaultConfig = {
    ...,
    wproofreader: {
        serviceProtocol: 'https',
		serviceHost: 'your-host-name',
		servicePort: '2880',
		servicePath: '/',
        srcUrl: 'https://your-host-name/virtual-directory/wscbundle/wscbundle.js'
    }
}

...