You are here: start » tinymce

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tinymce [2018/01/03 16:18]
Christoph M. Becker [Spellchecking] Document installation of PHP Spellchecker component
tinymce [2018/01/04 18:51]
Christoph M. Becker [Spellchecking] Fix installation instructions
Line 44: Line 44:
   * Change line 20 in ''​plugins/​tinymce4/​tinymce/​plugins/​spellchecker/​spellchecker.php''​ to ''"​enchant_dicts_path"​ => realpath("​./​dicts"​),''​   * Change line 20 in ''​plugins/​tinymce4/​tinymce/​plugins/​spellchecker/​spellchecker.php''​ to ''"​enchant_dicts_path"​ => realpath("​./​dicts"​),''​
   * Download word lists for the desired languages and put them into ''​plugins/​tinymce4/​tinymce/​plugins/​spellchecker/​dicts/''​. For each language two files are required which are named ''​en_US.dic''​ and ''​en_US.aff'',​ for instance. Quite useable word lists are distributed by the OpenOffice project, for example for [[https://​extensions.openoffice.org/​en/​project/​us-english-spell-checking-dictionary|American English]] and [[https://​extensions.openoffice.org/​en/​project/​german-de-de-frami-dictionaries|German]]. You can download the extensions, unzip them (the file extension is ''​oxt'',​ but they are actually ZIP files); somewhere in the unpacked archive you'll find the desired files.   * Download word lists for the desired languages and put them into ''​plugins/​tinymce4/​tinymce/​plugins/​spellchecker/​dicts/''​. For each language two files are required which are named ''​en_US.dic''​ and ''​en_US.aff'',​ for instance. Quite useable word lists are distributed by the OpenOffice project, for example for [[https://​extensions.openoffice.org/​en/​project/​us-english-spell-checking-dictionary|American English]] and [[https://​extensions.openoffice.org/​en/​project/​german-de-de-frami-dictionaries|German]]. You can download the extensions, unzip them (the file extension is ''​oxt'',​ but they are actually ZIP files); somewhere in the unpacked archive you'll find the desired files.
-  * Finally add the ''​spellchecker''​ tool button to the desired ''​toolbarX''​ in your init file.+  * Finally add the ''​spellchecker''​ tool button to the desired ''​toolbarX''​ in your init file, and also add the following line: 
 +<​code=php>​spellchecker_rpc_url:​ '​spellchecker.php',</​code>​
  
 The actual usage of the spellchecker is supposed to be pretty much self explaining. The actual usage of the spellchecker is supposed to be pretty much self explaining.
 
You are here: start » tinymce
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Valid XHTML 1.0 Valid CSS Driven by DokuWiki