User Tools

Site Tools


how_to:editor_configuration_more_options

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
how_to:editor_configuration_more_options [2011/11/29 10:28]
Connie [SpellCheck]
how_to:editor_configuration_more_options [2011/11/29 12:40]
Connie [Necessary modifications:]
Line 170: Line 170:
  
  
-There are two options which are necessary:+==== Necessary modifications====
  
   - Enable the feature (''​scayt_autoStartup:​true''​)   - Enable the feature (''​scayt_autoStartup:​true''​)
   - Define the language for the spellchecker (''​scayt_sLang:'​de_DE'''​)\\ The default language is en_US, so you should define the language when you need another language. \\ Possible values for the languages are: //en_US, en_GB, pt_BR, da_DK, nl_NL, en_CA, fi_FI, fr_FR, fr_CA, de_DE, el_GR, it_IT, nb_NO, pt_PT, es_ES, sv_SE//​. ​   - Define the language for the spellchecker (''​scayt_sLang:'​de_DE'''​)\\ The default language is en_US, so you should define the language when you need another language. \\ Possible values for the languages are: //en_US, en_GB, pt_BR, da_DK, nl_NL, en_CA, fi_FI, fr_FR, fr_CA, de_DE, el_GR, it_IT, nb_NO, pt_PT, es_ES, sv_SE//​. ​
 +  - add the spellchecker-symbol to the toolbar
  
-So add to the gsconfig.php:+So add //​SCAYT-options//​ to editor-options and //'​Scayt'// ​to the toolbar in gsconfig.php
  
   # WYSIWYG Editor Options   # WYSIWYG Editor Options
-  define('​GSEDITOROPTIONS',"​skin : 'v2' +  define('​GSEDITOROPTIONS',"​scayt_autoStartup:​true,​ scayt_sLang:'de_DE'"); 
-  ​enterMode: CKEDITOR.ENTER_P,​ +   
-  ​shiftEnterMode : CKEDITOR.ENTER_BR+  ​# WYSIWYG toolbars (advancedbasic or [custom config]) 
-  ​fontSize_defaultLabel : '11px', +  ​define('GSEDITORTOOL',"['Source','​-','​Cut'​,'​Copy'​,'​Paste'​
-  font_defaultLabel : 'Verdana', +  'PasteText','​PasteFromWord','​-','​Undo'​
-  font_names : 'Arial;Times New Roman;​Verdana', +  'Redo','​Find','​Replace','​-','​SelectAll','​RemoveFormat','​Scayt'​],'/',​
-  toolbarCanCollapse : true, +
-  colorButton_enableMore : true, +
-  entities : false+
-  ​contentsLangDirection : 'ltr', +
-  emailProtection : 'encode', +
-  scayt_autoStartup:​true+
-  ​scayt_sLang:​'de_DE'+
   ");   ");
   ​   ​
how_to/editor_configuration_more_options.txt · Last modified: 2013/04/19 15:04 (external edit)