Ticket #2764: 2764_3.patch
File 2764_3.patch, 1.0 KB (added by , 15 years ago) |
---|
-
_source/plugins/sourcearea/plugin.js
44 44 outline : 'none', 45 45 'text-align' : 'left' }); 46 46 47 // Set the <textarea> value. 48 this.loadData( data ); 47 if (CKEDITOR.env.ie) // textarea 48 // height/width='100%' 49 // doesn't constraint to the 50 // 'td' in IE strick mode 51 { 52 textarea.setStyles({ 53 'height' : holderElement.$.clientHeight 54 + 'px', 55 'width' : holderElement.$.clientWidth 56 + 'px' 57 }); 58 } 49 59 50 60 // Reset the holder element and append the 51 61 // <textarea> to it. 52 62 holderElement.setHtml( '' ); 53 63 holderElement.append( textarea ); 64 // Set the <textarea> value. 65 this.loadData( data ); 54 66 }, 55 67 56 68 loadData : function( data )