rem: this._popupDialog("/shared/richedit/popups/select_color.html", function(color) { if (color) { editor._doc.execCommand(cmdID, false, "#" + color); } }, HTMLArea._colorToRgb(this._doc.queryCommandValue(cmdID))); 
add: function() { var grngMaster = editor._doc.selection.createRange();   if (editor._doc.selection.type == "Control") { if (grngMaster.item(0).tagName == 'IMG') { params = grngMaster.item(0).id; params = params.split(':'); img = {node_id:  params[0], width:   grngMaster.item(0).width, height:   grngMaster.item(0).height, border:  grngMaster.item(0).border, hspace:  grngMaster.item(0).hspace, vspace:  grngMaster.item(0).vspace, align:  grngMaster.item(0).align, alt:  grngMaster.item(0).alt, type:  params[1], link_to: params[2]}; return img; } } return false } 
context: 		this._popupDialog("/shared/richedit/popups/select_color.html", function(color)	 	{			if (color)	 		{ // selection not canceled				editor._doc.execCommand(cmdID, false, "#" + color);			}		}, HTMLArea._colorToRgb(this._doc.queryCommandValue(cmdID)));
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/2a28919f6e958d01456898eb25453990d50e52e9/htmlarea.js/clean/2.2.1/shared/richedit/htmlarea.js