Ticket #7639: 7639_2.patch

File 7639_2.patch, 639 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/selection/plugin.js

     
    477477                                });
    478478
    479479                        editor.selectionChange = checkSelectionChangeTimeout;
    480                 }
     480                        editor.on( 'destroy', function()
     481                        {
     482                                // IE9 might cease to work if there's an object selection inside the iframe (#7639).
     483                                if ( CKEDITOR.env.ie9Compat )
     484                                {
     485                                        var sel = editor.getSelection();
     486                                        sel && sel.getNative().clear();
     487                                }
     488                        }, null, null, 10 );
     489                }
    481490        });
    482491
    483492        /**
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy