Hi there,
I would like to have spellchecker on the WYSIWYG on SilverStripe 3.1 however, it's sitting on IIS with limited configuration with PHP i.e. I wouldnt' be able to install PSpell/Aspell. So, I looked about for another TinyMCE plugin and found one called NanoSpell http://tinymcespellcheck.com/
I think this would be perfect to include this in. It says all that is required is to link the external plugin by the TinyMCE init by the following:
tinymce.init({
selector:'textarea',
external_plugins: { "nanospell": "/nanospell/plugin.js" },
nanospell_server:"php"
});
Which seems reasonable. So I moved the nanospell folder into the framework/thirdparty/tinymce/plugins and then added the following to the config file.
HtmlEditorConfig::get('cms')->enablePlugins('nanospell', 'contextmenu');
(The server setting isn't required as php would be called on default). But that didn't work.
Then I tried to include the folder structure itself by using the following but that broke the Admin view :/
HtmlEditorConfig::get('cms')->enablePlugins(array('nanospell' => '/nanospell/plugin.js'));
I was assuming that the relative position should be in the plugins folder of framework etc?
Is anyone able to provide some help with this. OR, is there something else I can use other than PSpell/Aspell? I do have Enchant on the IIS/PHP if that helps?
Many Thanks