You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

<!-- Include the WEBSPELLCHECKER_CONFIG variable. -->
<script>
    window.WEBSPELLCHECKER_CONFIG = {
		autoSearch: true,
		autoDestroy: true,
		...	
    };
</script>

<script type="text/javascript" src="http(s)://host_name/wscservice/wscbundle/wscbundle.js"></script>


<div id="tinymce3-editor">
    <p>These are an examples of a sentences with two mispelled words and grammar problems. Just type text with misspelling to see how it works.</p>
</div>

<script>
    tinymce.init({
        selector: '#tinymce',
        init_instance_callback: function(editor) {
            WEBSPELLCHECKER.init({
                container: editor.getContainer().getElementsByTagName('iframe')[0]
            });
        }
    });
</script>


  • No labels