Problems, need help? Have a tip or advice? Post it here.
15 posts Page 1 of 2
Hello, I am having a problem getting the richtext editor to show up in IE10. It works fine in Firefox and Chrome. I think it was also working in IE10 before I upgraded Couch to the 1.4 RC1 version, but I'm not 100% sure about this.

Please see the attached screenshots. It is as if the editor does not load at all in IE10. Has anyone else seen this and/or can hopefully suggest a resolution?

My editor code looks like this, but I have also tried using the standard code from the tutorial and it has the same problem.
Code: Select all
      <cms:editable name='main_content' type='richtext' label='Main Content'
      toolbar='custom'
    custom_toolbar='bold, italic, underline,  |
    format | 
    numberedlist, bulletedlist, |
    undo, redo, removeformat |
    cut, copy, pastetext, pastefromword |
    image, smiley, specialchar |
    link, unlink'>
   
   
    <p><strong>Sample Content</strong></p>
   
     </cms:editable>


I'm using IE10 in Windows 8. All suggestions welcome, thank you!

Attachments

Can anyone with IE10 installed please test and confirm this issue?
From what I see by googling, IE10's 'quirk mode' has problems with CKEditor but this was supposed to have been fixed.

Thanks.
I remembered that I had another website set up with the 1.3.5 version of Couch - and the CKeditor does work correctly with IE10/Win8 on that setup.
Is this occurring on a hosted or local server?

Could you check in IE10 if there are any JavaScript errors output to the web console (F12)?

Also, please visit http://ckeditor.com/demo and try that too.
Hi and thanks for your reply. It's on a hosted server. I checked for Java errors and got this (twice - I have 2 richtext fields on my page):

SCRIPT5007: Unable to get property 'options' of undefined or null reference
ckeditor.js, line 620 character 612
SCRIPT5007: Unable to get property 'options' of undefined or null reference
ckeditor.js, line 620 character 612

The CKeditor demo is fine, and so is a Couch setup I did from a v1.3.5 download. I tried replacing the includes/ckeditor folder from my 1.4 setup with the one from my 1.3.5 and it worked fine, so it seems the error could be something in the new release?
@ellen,

Can you please let us know if you changed the language used by CKEditor (it is the following setting in 'ckeditor/config.js')?
config.defaultLanguage = 'en';
Thanks
No I didn't change it. I checked and it is as in your post. However, I checked my (working) 1.3.5 version and the line is slightly different....

Code: Select all
config.language = 'en';


Is this an intentional difference? When I get chance I'll test out the new version with the 'old' config file
Yes, please try using the older setting in the new version and see if this changes anything.
config.language = 'en';
Thanks.
Yes - success! :)

I did find that I needed to clear the browser cache before I saw any change.

I changed the JS 'language' line back as well, just to check, and it did break the editor with the version in the 1.4RC download, so perhaps that needs looking at.

Many thanks for your help! Will there be a full release version of 1.4 shortly?
Thank you very much for helping us debug the issue, Ellen :)
I'll make the necessary changes to the source.

1.4 Final release will take another month, I think.

Thanks.
15 posts Page 1 of 2
cron