suntrop Posted July 1, 2014 Share Posted July 1, 2014 I was trying to activate the spell checker in TinyMCE (PW 2.4) as I read it isn't available anymore, because Google put it down. Now I tried for almost 2 hours to get nanospell (http://tinymcespellcheck.com) activated without luck. I downloaded the plugin, put it into /site/tinymce/plugins/nanospell and copied that path into the Third-party plugins field for my body field. But whenever I save it, the field doesn't load. And I can't get this working. nanospell itself works fine on my server, I tried their example that comes with the plugin. Where do I have to put those 4 lines: tinymce.init({ selector:'textarea', external_plugins: {"nanospell": "/site/tinymce/plugins/nanospell/plugin.js"}, nanospell_server: "php", nanospell_dictionary: "en,de" }); Link to comment Share on other sites More sharing options...
adrian Posted July 1, 2014 Share Posted July 1, 2014 Details tab of the RTE field > TinMCE Advanced Config Options > Third Party Plugins Link to comment Share on other sites More sharing options...
suntrop Posted July 1, 2014 Author Share Posted July 1, 2014 Details tab of the RTE field > TinMCE Advanced Config Options > Third Party Plugins That's the place where I have put in nanospell's path. I don't think all the init() comes there (tried it, but doesn't work either). Link to comment Share on other sites More sharing options...
suntrop Posted July 9, 2014 Author Share Posted July 9, 2014 Nobody who knows how to use the field and implement? Cannot find this one in the documentation. Link to comment Share on other sites More sharing options...
Joss Posted July 9, 2014 Share Posted July 9, 2014 The TinyMCE Spell checker I have user I placed in: /site/tinymce/myplugins/spellchecker Then in the Third Party Plugins bit I put: spellchecker : /site/tinymce/myplugins/spellchecker And then in Buttons 1 I added spellchecker I think it was this one: http://www.tinymce.com/wiki.php/plugin:spellchecker Just as a thought, you may be able to do the additional setting in config.php within the nanospell plugin folder Link to comment Share on other sites More sharing options...
Joss Posted July 9, 2014 Share Posted July 9, 2014 Also... Did you try and put selector:'textarea', nanospell_server: "php", nanospell_dictionary: "en,de" Into Additional Settings? Link to comment Share on other sites More sharing options...
suntrop Posted July 9, 2014 Author Share Posted July 9, 2014 It feels like I tried hundreds of combinations But, if I insert in third party plugins nanospell : /site/tinymce/plugins/nanospell the body field (TinyMCE editor) won't load at all. The browser console says the editor_plugin.js is missing. If I rename the plugin.js (within the nanospell folder) there is another JS file that is missing, and so on. The default spellchecker that shipps with TinyMCE works, but it only works if you click the button before you start writing. It doesn't underline words that are already typed as you click the toolbar button. Link to comment Share on other sites More sharing options...
Joss Posted July 9, 2014 Share Posted July 9, 2014 Are you sure the version of the plugin you are installing is compatible with this version of TinyMCE? Link to comment Share on other sites More sharing options...
suntrop Posted July 9, 2014 Author Share Posted July 9, 2014 Ok, this could be the reason. It seems this one is build for v 4 of TinyMCE. Seems there is no good way to integrate a spell checker into the editor. Anyway, thanks for your help!! Link to comment Share on other sites More sharing options...
Joss Posted July 9, 2014 Share Posted July 9, 2014 I have found the spellchecker plugin I mentioned earlier works very well. You could also use CKEditor instead, if you wanted to. Link to comment Share on other sites More sharing options...
suntrop Posted July 17, 2014 Author Share Posted July 17, 2014 Unfortunately there isn't aspell installed on this server and Google's spell checker isn't working anymore. Tried this one: http://javascriptspellcheck.com but it does support "check as you type" only for none RTE. However, you can use it in a separate pop-up window. I now switched to CKEditor. WebSpellChecker works fine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now