-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKEditor Issue...blank button and error onclick. #20
Comments
What is the error you get? Also what browser are you using? |
I'm using IE8 and IE9. 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) {
}; Here is what is within my page: <script type="text/javascript"> window.onload = function () { var SummFld = { toolbar: [ { name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] }, {name: 'spellcheck', items: ['jQuerySpellChecker'] }, '/', { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] }, { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'links', items: ['Link', 'Unlink'] }, { name: 'colors', items: ['TextColor', 'BGColor'] }, {name: 'insert', items: ['Table', 'HorizontalRule', 'SpecialChar'] }, { name: 'styles', items: ['Font', 'FontSize'] }, { name: 'tools', items: ['Maximize'] } ] } contentsCss: '../Styles/jquery.spellchecker.css' CKEDITOR.replace('<%= SummaryFld.ClientID %>', SummFld); } </script><cke:CKEditorControl ID="SummaryFld" BasePath="../ckeditor/" runat="server">/cke:CKEditorControl It adds the button and when you mouse over it, it says "SpellCheck". When you click on it the same error happens. 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();" |
FYI...the server sends this back to me: http://localhost:61137/ckeditor/spellchecker?t=C9A85WF 1/14/2013 9:12:19 AM EST |
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:
The text was updated successfully, but these errors were encountered: