Content deleted Content added
Promote dev code to live-changes the way buttons are hooked (for Mozilla) |
Copy of dev code - Bug fix for advanced image button |
||
Line 644:
mt='<p>Enter the image parameters below: <\/p>'
+'<form name="XEBPopupImageForm">'
+'File:<input type="text" name="imgFile" value="" size="30"><br>'
+'Type:<SELECT NAME="imgType">'
Line 657 ⟶ 656:
+'<OPTION VALUE="none">None'
+'</SELECT><br>'
+'Size:<input type="text" name="imgSize" value="100" size="3">px<br>'
+'Caption:<input type="text" name="imgCaption" value="" size="30">
+'<\/form>'
+'<p><button onClick="javascript:XEBInsertImage()">Insert</button>'
Line 672 ⟶ 671:
hideXEBPopup();
var code='[[Image:';
code+=f.imgFile.value;
code+='|'+f.imgType.value;
code+='|'+f.imgLocation.value;
code+='|'+f.imgSize.value;
code+='|'+f.imgCaption.value;
code+=']]';
insertTags('','', code);
extendSummary('image');
|