Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/assets/js/tinymce/plugins/spellchecker/spellchecker.php
2018-10-16 18:28:42 +02:00

30 lines
654 B
PHP

<?php
/**
* spellcheck.php
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
require('./includes/Engine.php');
require('./includes/EnchantEngine.php');
require('./includes/PSpellEngine.php');
$tinymceSpellCheckerConfig = array(
"engine" => "enchant", // enchant, pspell
// Enchant options
"enchant_dicts_path" => "./dicts",
// PSpell options
"pspell.mode" => "fast",
"pspell.spelling" => "",
"pspell.jargon" => "",
"pspell.encoding" => ""
);
TinyMCE_Spellchecker_Engine::processRequest($tinymceSpellCheckerConfig);
?>