提交 593a6b80 编写于 作者: C campaign

by zhanyi

上级 b66a42b7
......@@ -67,8 +67,12 @@ UE.plugins['font'] = function () {
}
utils.each(domUtils.getElementsByTagName(common, 'span'), function (span) {
if (!span.parentNode || domUtils.isBookmarkNode(span))return;
if (/^\s*border\s*:\s*none;\s*/i.test(span.style.cssText)) {
domUtils.remove(span, true);
if (/\s*border\s*:\s*none;?\s*/i.test(span.style.cssText)) {
if(/^\s*border\s*:\s*none;?\s*$/.test(span.style.cssText)){
domUtils.remove(span, true);
}else{
domUtils.removeStyle(span,'border');
}
return
}
if (/border/i.test(span.style.cssText) && span.parentNode.tagName == 'SPAN' && /border/i.test(span.parentNode.style.cssText)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册