WebSpellChecker (WSC)

WSC operates in a separate browser window so your work is not obstructed. Corrected text is automatically returned to the form.

WebSpellChecker (WSC) Plugin for TinyMCE 4

Installation Guide

1. Download the WSC plugin for TinyMCE 4

2. Unpack the downloaded zip archive and copy the extracted WSC directory to the TinyMCE 4 plugins directory (by default: \tinymce\js\tinymce\plugins\). Note! Folder name should be "wsc".

3. Specify the core URI of the WSC plugin (see sample, line 8).

4. Edit HTML page that contains TinyMCE 4. Register WSC plug-in (see sample, line 13), and add it to TinyMCE 4 toolbar (see sample, line 14).

Specify desired type of popup (look and feel - lf) - 118 for modal popup or 18 for separate window (see sample, line 15). Note! Only one type of lf can be declared on one page at the same time.

5. Specify the WSC popup title (see sample, line 16).

6. Specify the initial spell check language name. Now supported: en_US, da_DK, en_GB, nl_NL, fr_FR, nb_NO, el_GR, de_DE, pt_PT, it_IT, es_ES, pt_BR, sv_SE. (see sample, line 17.)

Sample

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <script src="/editors/tinymce4/js/tinymce/tinymce.min.js"></script>
    <script>
        //<!--
		//<!-- For Hosted version only //-->
		var WSCCorePath = "http://svc.webspellchecker.net/spellcheck/script/ssrv.cgi?cmd=script&doc=wsc&plugin=tinymce3&customerid=[your_long_ID]"
		//<!-- For Licensed version only //-->
		var WSCCorePath = "[protocol]://[your_hostname]/spellcheck/script/ssrv.cgi?cmd=script&doc=wsc&plugin=tinymce3"
        tinyMCE.init({
            selector: "textarea#myEditor",
            theme: "modern",
            // add WSC plugin
            plugins: [ "wsc link image table contextmenu" ],
            toolbar: "wsc undo redo | bold italic | alignleft" + "aligncenter alignright alignjustify | bullist numlist | link" + "image",
            wsc_popup_title: "WebSpellChecker",
            wsc_lang :"en_US"
        });
        //-->
</script>
</head>
<body>
    <textarea id="myEditor" name="myEditor" >
        This is an exampl of a sentence with two mispelled words.
    </textarea>
</body>
</html>