I am using CKEditor 4 and created a plugin for RapidSpell in CKEditor using the documentation on the site. It works well on IE9 and other browsers. But on IE 8 I get the below error.
Webpage error details
|
Is there something specific that needs to be done for a custom plugin to function properly in IE8. I have also attached the code for my plugin.
In my config.js file I have added the line
config.extraPlugins = 'spell';
This error happens only when I click on the spellcheck icon in the toolbar.
Fix it by changing
Fix it by changing
var ifr = document.getElementsByClassName('cke_wysiwyg_frame cke_reset')[0];
to
var ifr = document.querySelectorAll('.cke_wysiwyg_frame.cke_reset')[0];