This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 1, 2011, 4:11 PM
7 Posts

Is anyone using lotusspellchecker plugin from CKEditor?

  • Category: Documentation
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: Spell Checker,xpages
  • Replies: 3
Looking for alternatives on Spell Checker for XPages, I noticed there is a folder under Notes/Domino installation files:
 
<Data>\domino\html\ckeditor\plugins\lotusspellchecker
 
Is there any information or examples about this?
 
Pablo
Sep 1, 2011, 4:46 PM
122 Posts
Re: Is anyone using lotusspellchecker plugin from CKEditor?
I believe, from when I looked at the JavaScript code for the plugins, that the spellchecker functionality wasn't enabled in 8.5.2. That was just after 8.5.2 came out, so I may be wrong.
Sep 2, 2011, 9:38 AM
7 Posts
Re: Is anyone using lotusspellchecker plugin from CKEditor?
Thanks Paul for your reply.
 
There is a post in this forum, which mention that it can enabled by using: 
 
CKEDITOR.config.extraPlugins += ',lotusspellchecker';
CKEDITOR.config.lotusSpellChecker = {
restUrl:'', 
lang:'en',
suggestions:'5',
format:'json',
highlight: { element : 'span', styles : { 'background-color' : 'yellow', 'color' : 'black' } },
preventCache: true
};
 
 http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=81F5386EEECE5801852578F600678554
 
But, I don't an idea how or where this code should be added.
 
Thanks in advance.
Sep 7, 2011, 8:53 AM
122 Posts
Re: Is anyone using lotusspellchecker plugin from CKEditor?
You can add CKEditor plugins directly to an XPage using a dojoAttribute. have you seen this article on the App Dev Wiki? http://www-10.lotus.com/ldd/ddwiki.nsf/dx/CKEditor_in_XPages_in_NotesDomino_8.5.2
You'd probably also need to update the toolbar to add the relevant button in. 
In terms of setting the properties for the spell checker, again this should be possible by using a dojoAttribute lotusSpellChecker, with the value as in your post.
If you want to change them server-wide, the wiki post shows the location of the files.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal