prodibaugh's picture
Joined: 13/12/2011
Posts: 2
IE 8 Unresponsive Script Error
I am using the CKEditor in my web site and am setting a large amount of HTML text to display in the editor when it loads (1-2 MB file). The editor loads the text without issue in Chrome, Firefox and IE9, but causes an unresponsive script error in IE 8 when it loads.

Is there a practical limit on the amount of html data CKEditor can handle in IE 8? Are there configuration options which can be disabled or tweaks to the htmlParser which can be made so less function calls are made on load?

Attached is the html I am attempting to load by setting the CKEditor control's Text property. Appreciate any suggestions, Thanks.

Our config -- "Chapter" is a custom plugin; have tried removing it but it does not improve results in IE 8.
config.toolbar =
        ['Cut', 'Copy', 'Paste', 'Undo', 'Redo'],
        ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'],
        ['NumberedList', 'BulletedList', 'Indent', 'Outdent', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
        ['Anchor', 'Link', 'Unlink'],

    config.extraPlugins = 'chapter';
    config.removePlugins = 'elementspath';
    config.scayt_autoStartup = false

    CKEDITOR.on('instanceReady', function(ev) {
        var blockTags = ['div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'pre', 'li', 'blockquote', 'ul', 'ol',
  'table', 'thead', 'tbody', 'tfoot', 'td', 'th', ];

        for (var i = 0; i < blockTags.length; i++) {
            ev.editor.dataProcessor.writer.setRules(blockTags[i], {
                indent: false,
                breakBeforeOpen: false,
                breakAfterOpen: false,
                breakBeforeClose: false,
                breakAfterClose: false