Ticket #8023: 8023.patch

File 8023.patch, 1.2 KB (added by Garry Yao, 13 years ago)
  • _source/core/dom/element.js

     
    12441244                                        this.$.style.KhtmlUserSelect = 'none';
    12451245                                        this.on( 'dragstart', function( evt ) { evt.data.preventDefault(); } );
    12461246                                }
     1247                        : CKEDITOR.env.ie ?
     1248                                function()
     1249                                {
     1250                                        this.on( 'selectstart', function( evt ) { evt.data.preventDefault(); } )
     1251                                }
    12471252                        :
    12481253                                function()
    12491254                                {
    1250                                         if ( CKEDITOR.env.ie || CKEDITOR.env.opera )
     1255                                        if ( CKEDITOR.env.opera )
    12511256                                        {
    12521257                                                var element = this.$,
    12531258                                                        e,
  • _source/themes/default/theme.js

     
    155155                                        '</span>' +
    156156                                '</span>' ].join( '' ) );
    157157
    158                         container.getChild( [1, 0, 0, 0, 0] ).unselectable();
    159                         container.getChild( [1, 0, 0, 0, 2] ).unselectable();
     158                        container.unselectable();
    160159
    161160                        if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
    162161                                container.insertAfter( element );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy