请问pbootcms百度编辑器UEDITOR给超链接默认添加rel=“nofollow”标签
-
修改链接HTML文件:
- 文件路径:
/core/extend/ueditor/dialogs/link/link.html
- 修改第81行: javascript
'href' : href, 'target' : $G("target").checked ? "_blank" : '_self', 'title' : $G("title").value.replace(/^\s+|\s+$/g, ''), 'rel': 'nofollow', '_href': href
- 文件路径:
-
修改配置文件:
- 文件路径:
/core/extend/ueditor/ueditor.config.js
- 修改第370行: javascript
a: ['target', 'href', 'title', 'class', 'style','name','rel','id'], abbr: ['title', 'class', 'style'], area: ['shape', 'coords', 'href', 'alt'],
- 文件路径:
更新时间:2025-04-10 23:29:19
下一篇:请问织梦自定义字段报错Call to a member function GetInnerText()
转载请注明原文链接:https://www.muzicopy.com/suibi/2178.html