From 40b059beb5bd73ccfa476409f8bff30975dbc413 Mon Sep 17 00:00:00 2001 From: thomasb Date: Fri, 15 Aug 2008 21:47:31 +0000 Subject: Enable spellchecker for HTML editor git-svn-id: https://svn.roundcube.net/trunk@1651 208e9e7b-5314-0410-a742-e7e81cd9613c --- .../js/tiny_mce/plugins/spellchecker/config.php | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php (limited to 'roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php') diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php new file mode 100755 index 000000000..827749e48 --- /dev/null +++ b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php @@ -0,0 +1,33 @@ +get('spellcheck_engine') == 'pspell' ? 'PSpell' : 'GoogleSpell'; + + /** end RoundCube specific code */ + + // General settings + //$config['general.engine'] = 'GoogleSpell'; + //$config['general.engine'] = 'PSpell'; + //$config['general.engine'] = 'PSpellShell'; + //$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php'; + + // PSpell settings + $config['PSpell.mode'] = PSPELL_FAST; + $config['PSpell.spelling'] = ""; + $config['PSpell.jargon'] = ""; + $config['PSpell.encoding'] = ""; + + // PSpellShell settings + $config['PSpellShell.mode'] = PSPELL_FAST; + $config['PSpellShell.aspell'] = '/usr/bin/aspell'; + $config['PSpellShell.tmp'] = '/tmp'; + + // Windows PSpellShell settings + //$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"'; + //$config['PSpellShell.tmp'] = 'c:/temp'; +?> -- cgit v1.2.3