Adding spellchecker
This commit is contained in:
parent
fe664733cd
commit
9f232b4049
23 changed files with 2251 additions and 10 deletions
24
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/config.php
vendored
Normal file
24
www/extras/tinymce2/jscripts/tiny_mce/plugins/spellchecker/config.php
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
$spellCheckerConfig = array();
|
||||
|
||||
// Spellchecker class use
|
||||
require_once("classes/TinyPspellShell.class.php"); // Command line pspell
|
||||
// require_once("classes/TinyGoogleSpell.class.php"); // Google web service
|
||||
// require_once("classes/TinyPspell.class.php"); // Internal PHP version
|
||||
|
||||
// General settings
|
||||
$spellCheckerConfig['enabled'] = false;
|
||||
|
||||
// Default settings
|
||||
$spellCheckerConfig['default.language'] = 'en';
|
||||
$spellCheckerConfig['default.mode'] = PSPELL_FAST;
|
||||
|
||||
// Normaly not required to configure
|
||||
$spellCheckerConfig['default.spelling'] = "";
|
||||
$spellCheckerConfig['default.jargon'] = "";
|
||||
$spellCheckerConfig['default.encoding'] = "";
|
||||
|
||||
// Pspell shell specific settings
|
||||
$spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
|
||||
$spellCheckerConfig['tinypspellshell.tmp'] = '/tmp';
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue