点击内容下的a跳转

富文本编辑器下, readonly则跳转
This commit is contained in:
life
2015-11-25 14:47:21 +08:00
parent 6bb115bb5d
commit bbd0233466
2 changed files with 20 additions and 2 deletions

View File

@@ -1784,6 +1784,10 @@ function isURL(str_url) {
return re.test(str_url);
}
function isOtherSiteUrl(url) {
return url.indexOf('http://127.0.0.1') < 0 && isURL(url);
}
function reloadApp() {
onClose(function() {
setTimeout(function() {