发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
选择字号: 超大 标准 发布时间:2014-9-9 11:10:22 | 作者:Searcheo | 1个评论 | 人浏览
本文地址:http://www.searcheo.cn/post/322.html 转载请注明出处!
zblog程序,功能很强大,但是一些细节还不够符合每个人的要求,比如如果需要复制一些网络文章到博客分享。复制的文章往往带有暗连,一个个去除很麻烦,需要批量去除。而发现新版的zblog去掉了ueditor的取消超链接功能,本文将介绍怎么加上去。
方法很简单,只需修改一个代码:
找到:\zb_system\ADMIN\ueditor\editor_config.asp 文件
在文件42行里找到:
oDic.Add "toolbars","[ [ 'source', '|', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript','forecolor', 'backcolor', '|', 'insertorderedlist', 'insertunorderedlist','indent', 'justifyleft', 'justifycenter', 'justifyright','|', 'removeformat','formatmatch','autotypeset', 'searchreplace'],[ 'fontfamily', 'fontsize','|', 'emotion','link','music','insertimage',,'insertvideo', 'attachment','spechars','|', 'map', 'gmap','|', "&IIf(ZC_SYNTAXHIGHLIGHTER_ENABLE,"'highlightcode',","")&"'blockquote', 'pasteplain','wordimage','inserttable', '|' ,'scrawl','horizontal','fullscreen']]"
在'link',后面加上'unlink',
即修改为:
oDic.Add "toolbars","[ [ 'source', '|', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript','forecolor', 'backcolor', '|', 'insertorderedlist', 'insertunorderedlist','indent', 'justifyleft', 'justifycenter', 'justifyright','|', 'removeformat','formatmatch','autotypeset', 'searchreplace'],[ 'fontfamily', 'fontsize','|', 'emotion','link','unlink','music','insertimage',,'insertvideo', 'attachment','spechars','|', 'map', 'gmap','|', "&IIf(ZC_SYNTAXHIGHLIGHTER_ENABLE,"'highlightcode',","")&"'blockquote', 'pasteplain','wordimage','inserttable', '|' ,'scrawl','horizontal','fullscreen']]"
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
2015-1-21 9:7:16
2014-7-2 11:10:4
2014-8-25 0:1:36
2014-10-14 10:40:55