rem: iframe_obj.style.width	= this.lib.width(textarea_obj) + 'px'; iframe_obj.style.height = this.lib.height(textarea_obj) + 'px'; 
add: iframe_obj.style.width	= textarea_obj.offsetWidth + 'px'; iframe_obj.style.height = textarea_obj.offsetHeight + 'px'; 
context: 	create_iframe: function(iframe_id) {		var textarea_id = iframe_id.substring(0, iframe_id.length-6);		if(USE_RTM) {			// make the iframe			document.write('<iframe name="' + iframe_id + '" id="' + iframe_id + '" frameborder="no" style="background-color:#FFFFFF;" src="' + DEFAULT_SRC + '"></iframe>');			if(this.richtext_mode(iframe_id)) {				// get the iframe and textarea				var iframe_obj			= this.get_object(iframe_id);				var textarea_obj		= this.get_object(textarea_id);				// position the iframe				iframe_obj.style.width	= this.lib.width(textarea_obj) + 'px';				iframe_obj.style.height = this.lib.height(textarea_obj) + 'px';				// set the iframe modes				this.rte_mode[iframe_id] = false;				this.switch_mode(iframe_id);			}		}	},
meta: 8193	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8193/d55368118dec4a8f237e8e432dd97304d21083d6/k4_editor.js/clean/trunk/upload/js/k4_editor.js