我的知识记录

请问PbootCMS百度编辑器UEDITOR给超链接默认添加rel="nofollow"标签

  1. 修改 /core/extend/ueditor/dialogs/link/link.html 第81行:
    'href': href, 'target': $G("target").checked ? "_blank" : "_self", 'title': $G("title").value.replace(/^\s+|\s+$/g, ''), 'rel': 'nofollow', '_href': href
  2. 修改 /core/extend/ueditor/ueditor.config.js 第370行:
    a: ['target', 'href', 'title', 'class', 'style', 'name', 'rel', 'id'],

 

标签:

更新时间:2025-04-11 00:02:16

上一篇:请问pbootcms自定义字段的内容用逗号隔开 前台怎么循环输出?

下一篇:请问PbootCMS输出当前栏目的相关信息