CKEditor 4
1. Obtain service ID
2. Initialize CKEditor 4
3. Initialize WProofreader
<script>
window.WEBSPELLCHECKER_CONFIG = {
autoSearch: true,
lang: 'auto', // enable language auto-detection option
theme: 'gray', // adjust color theme of WProofreader to look more native to CKEditor 4
enableAutoSearchIn: ['.cke_wysiwyg_frame'], // limit WProofreader work only to CKEditor 4. They hide the original element and create an iframe element with cke_wysiwyg_frame class.
<!--Use the activation key for the Cloud-based version
serviceId: 'your-service-ID'
-->
<!-- Use four server parameters for the On-premise version
serviceProtocol:'https',
serviceHost:'your_host_name',
servicePort:'your_port_number',
servicePath:'virtual_directory/api' //by default the virtual directory name is wscservice
-->
...
};
</script>
<!-- Use this path for the On-premise version
<script type="text/javascript" src="http(s)://host_name/wscservice/wscbundle/wscbundle.js"></script>
-->
<!-- Use this path for the Cloud-based version
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>
-->4. Activate service
5. Remove old plugins
6. Further actions
Still have a question?
Last updated
Was this helpful?