Commit ec91f019 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

Merge branch 'feature/ISTWCMS-5708-l26yan-Add-WProofreader-for-CKEditor' into '1.0.x'

ISTWCMS-5708 Add WProofreader to CKEditor

See merge request !79
parents 237d9437 58edd982
......@@ -47,6 +47,19 @@
})(window,document,'script','dataLayer','GTM-M9XLVF');</script>
<!-- End Google Tag Manager -->
{% endif %}
<!-- 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.
serviceId:'ul8aNM6zBZAhogj' // the activation key for the Cloud-based version
};
</script>
<script type="text/javascript" src="https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"></script>
<!-- End WProofreader -->
<css-placeholder token="{{ placeholder_token|raw }}">
<js-placeholder token="{{ placeholder_token|raw }}">
</head>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment