Open bayouman opened 11 years ago
What is the error you get? Also what browser are you using?
I'm using IE8 and IE9. The error is as such: Microsoft JScript runtime error: 'this.editor.commands.jqueryspellchecker' is null or not an object.
The line it stops on is within the create: function "this.editor.commands.jqueryspellchecker.toggleState();"
I just thought of this...I am using multiple CKEditors on one page. Do I need to set things for each? My first assumption is it would work for all since the config worked for all before trying to implement the new spell checker.
UPDATE: I'm still trying...with no luck. I left this "config.extraPlugins = 'jqueryspellchecker';" in the config.js file and then I commented out the custom toolbar code in the config.js file and added it to the page that has the CKEditor as such:
Here's my config.js file:
CKEDITOR.editorConfig = function (config) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E';
CKEDITOR.on('instanceReady', function (ev) {
ev.editor.dataProcessor.writer.setRules('p',
{
indent: false,
breakBeforeOpen: false,
breakAfterOpen: false,
breakBeforeClose: false,
breakAfterClose: false
});
});
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
// Extra plugins
config.extraPlugins = 'jqueryspellchecker';
};
Here is what is within my page:
FYI...the server sends this back to me:
http://localhost:61137/ckeditor/spellchecker?t=C9A85WF
1/14/2013 9:12:19 AM EST System.Web.HttpException: File does not exist. at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response) at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context) at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Hi...I am following up to see if you had any suggestions about what I've posted. Thanks.
The issue with the missing icon is because the instructions reference the incorrect css class name. The proper class name is actually .cke_button_jqueryspellchecker. That should fix your button not showing up.
The other error sounds like it might be related to not implementing a valid spell checking library on the server side. Check the instructions again, specifically item number 3, for references to the supported libraries.
Hello. Issue is the image button is blank and upon clicking I get the attached error. I did find the plugin.js file and created a folder in the CKEditor's plugin section called "jqueryspellchecker" and put it in there. Please help...thank you very much.
I'm using vb.net, VS2010 and my project is using a masterpage. I put the following on my masterpage's head section:
Here's my config.js: