Ticket #9483: Patch_to_fix_opening_of_colorpicker_in_ie10.patch

File Patch_to_fix_opening_of_colorpicker_in_ie10.patch, 1.4 KB (added by Matt, 12 years ago)

Patch to fix opening of colorpicker in IE10

  • ckeditor/_source/plugins/floatpanel/plugin.js

     
    213213                                                                if ( CKEDITOR.env.gecko || CKEDITOR.env.opera )
    214214                                                                        widthNode = widthNode.parentNode;
    215215
    216                                                                 if ( CKEDITOR.env.ie )
     216                                                                if ( CKEDITOR.env.ie && !CKEDITOR.env.ie10Compat )
    217217                                                                        widthNode = widthNode.document.body;
    218218
    219219                                                                var width = widthNode.scrollWidth;
  • ckeditor/_source/core/env.js

     
    173173                         */
    174174                        env.ie9Compat = document.documentMode == 9;
    175175
    176                         /**
     176            /**
     177             * Indicates that CKEditor is running on Internet Explorer 10's standards mode.
     178             * @name CKEDITOR.env.ie9Compat
     179             * @type Boolean
     180             * @example
     181             * if ( CKEDITOR.env.ie10Compat )
     182             *     alert( "IE10, the beauty of the web!" );
     183             */
     184            env.ie10Compat = document.documentMode == 10;
     185
     186                        /**
    177187                         * Indicates that CKEditor is running on an IE7-like environment, which
    178188                         * includes IE7 itself and IE8's IE7 document mode.
    179189                         * @name CKEDITOR.env.ie7Compat
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy