Ticket #2764: 2764.diff

File 2764.diff, 1.3 KB (added by Garry Yao, 15 years ago)

Name convention revised

  • plugin.js

     
    6060                                                                outline : 'none',
    6161                                                                'text-align' : 'left' });
    6262
    63                                                         // Set the <textarea> value.
    64                                                         this.loadData( data );
     63                                                       
     64                            if(CKEDITOR.env.ie)      //textarea height/width='100%' doesn't constraint to the 'td' in IE strick mode
     65                            {
     66                                   textarea.setStyles({
     67                                                                        'height' : holderElement.$.clientHeight + 'px',   
     68                                                                        'width' :holderElement.$.clientWidth + 'px'   
     69                                                                });
     70                               
     71                            }
     72                           
    6573
    66                                                         // Reset the holder element and append the
    67                                                         // <textarea> to it.
    68                                                         holderElement.setHtml( '' );
    69                                                         holderElement.append( textarea );
     74                            // Reset the holder element and append the
     75                            // <textarea> to it.
     76                            holderElement.setHtml( '' );
     77                            holderElement.append( textarea );
     78                            // Set the <textarea> value.
     79                            this.loadData( data );
     80                           
    7081                                                },
    7182
    7283                                                loadData : function( data )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy