User:Whiteknight/editinsert.js

if(typeof ei == 'undefined') { var ei = { span: "WKEISpan" }; ei.createLinks = function { var allLinks = wk.getElementsByClass(ei.span, "span"); var text; var parts = new Array; for(var i = 0; i < allLinks.length; i++) { wk.toggleDisplay(allLinks[i], "block"); text = allLinks[i].innerHTML; allLinks[i].innerHTML = ""; } }  if(typeof wk == 'object' && wk.testVersion(2.31)) { addOnloadHook(ei.createLinks); } }