window.WSCCorePath

Description:

window.WSCCorePath is a global parameter that specifies a URL to the WSC Dialog core.

Parameter type:String
Default value:

None

Possible values:

Example:

Cloud version:
var WSCCorePath = "http(s)://svc.webspellchecker.net/spellcheck/script/ssrv.cgi?cmd=script&doc=wsc&plugin=tinymce3&customerid=[your_long_ID]"
Server version:
var WSCCorePath = "http(s)://[your_host_name]/spellcheck/script/ssrv.fcgi?cmd=script&doc=wsc&plugin=tinymce3"

Back to the top...


wsc_schemaIdentifier

Description:

wsc_schemaIdentifier sets a schema identifier for the WSC Dialog plugin.

Parameter type:Number
Default value:

18

Possible values:
  • 18 WSC dialog opens as a separate pop-up window.
  • 118 WSC dialog opens a modal window.

Example:

wsc_schemaIdentifier: 118,

Back to the top...


wsc_popup_title

Description:

wsc_popup_title parameter sets a title of WSC Dialog.

Parameter type:String
Default value:

WebSpellChecker

Possible values:Any name of a title.

Example:

wsc_popup_title: 'WebSpellChecker',

Back to the top...


wsc_lang

Description:

wsc_lang parameter sets a language short code of the default language that will be used for spell checking. 

Parameter type:String
Default value:

en_US (American English)

Possible values:

Example:

wsc_lang: "en_GB",

Back to the top...


wsc_customDictionaryIds

Description:

wsc_customDictionaryIds parameter parameter specifies a custom dictionary ID that will be linked with WSC Dialog.

Parameter type:String
Default value:

None

Possible values:

IDs of custom dictionaries separated with commas (' , ').

Example:

wsc_customDictionaryName = '1,3001';

Back to the top...


wsc_userDictionaryName

Description:

wsc_userDictionaryName parameter predefines a specific user dictionary that will be used with SCAYT.

Parameter type:Array
Default value:

None

Possible values:

Any name of a user dictionary.

Example:

wsc_userDictionaryName = 'user_dictionary_name';

Back to the top...


wsc_cmd

Description:

wsc_cmd parameter sets an active tab which should be shown on the dialog opening.

Parameter type:String
Default value:

spell

Possible values:
  • spell – spell checking tab;
  • thes – thesaurus tab;
  • grammar – grammar checking tab.

Example:

wsc_cmd  = 'thes';

Back to the top...


wsc_height

Description:

wsc_height parameter sets the height in pixels of WSC Dialog.

Parameter type:Number
Default value:

534

Possible values:Any height size in pixels.

Example:

wsc_height = 534;

Back to the top...


wsc_width

Description:

wsc_width parameter sets the width in pixels of WSC Dialog.

Parameter type:Number
Default value:

514

Possible values:Any width size in pixels.

Example:

wsc_width = 514;

Back to the top...


wsc_top

Description:

wsc_top parameter sets a top margin value in pixels of WSC Dialog.

wsc_top parameter is applicable and can be used only if wsc_schemaIdentifier is set to 18.

Parameter type:Number
Default value:

0

Possible values:Any top margin value in pixels.

Example:

wsc_top = 0;

Back to the top...


wsc_left

Description:

wsc_left parameter sets a left margin value in pixels of WSC Dialog.

wsc_left parameter is applicable and can be used only if wsc_schemaIdentifier is set to 18.

Parameter type:Number
Default value:

0

Possible values:Any left margin value in pixels.

Example:

wsc_left = 0;

Back to the top...


wsc_autoClose

Description:

wsc_autoClose parameter defines if the WSC Dialog window should be auto-closed.

Parameter type:String
Default value:

None

Possible values:
  • no – no auto-closing.
  • yes – WSC Dialog will be closed after all misspellings are replaced with suggested corrections or ignored.
  • nomisspellings – WSC Dialog will be closed if no misspellings detected in the given text.

Example:

wsc_autoClose: 'yes',

Back to the top...


wsc_domainName

Description:

wsc_domainName parameter defines a common domain name (relaxed script solution).

Parameter type:String
Default value:

None

Possible values:

Example:

wsc_domainName: "your_domain_name",

Back to the top...


wsc_schemaURI DEPRECATED

Description:

wsc_schemaURI parameter sets a link to a file with custom CSS styles.

Parameter type:String
Default value:

None

Possible values:

Example:

wsc_schemaURI: "path_to_directory/custom_styles.css",

Back to the top...



  • No labels