Authored by 周少峰

'link'

... ... @@ -256,7 +256,7 @@
obj.textValue = text.value;
}
var conItem = href.indexOf("?") > -1 ? "&" : "?";
obj._href = obj.href = href + conItem + 'openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: encodeURI(href), param: getUrlParams(href)}});
obj._href = obj.href = href + conItem + 'openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: href.split("?")[0], param: getUrlParams(href)}});
editor.execCommand('link',utils.clearEmptyAttrs(obj) );
dialog.close();
... ...