Hi,
Not sure where to go to submit a bugfix, the plugin was not loading on IE8 browsers (i know, but the client uses IE8...) we determined this was due to a forEach loop in the plugin:
core/components/ckeditor/elements/plugins/ckeditor.plugin.php
Specifically in the Ext.onReady JavaScript call
I made the following change which fixes the bug:
Ext.onReady(function() {
var textAreas = Ext.query('$selector');
Ext.each(textAreas, function(textArea){
var htmlEditor = MODx.load({
xtype: 'modx-htmleditor',
width: 'auto',
height: parseInt(textArea.style.height) || 200,
name: textArea.name,
value: textArea.value || '<p></p>'
});
textArea.name = '';
textArea.style.display = 'none';
htmlEditor.render(textArea.parentNode);
htmlEditor.editor.on('key', function(e){ MODx.fireResourceFormChange() });
});
});
Thought I'd post it here so it can be updated in a future release.
Thanks for a great plugin btw!