立即注册

微信登录

只需一步,快速开始

QQ登录

只需一步,快速开始

无量觉社区



会员资源切换至【手机版】
开启左侧

[discuz] Discuz!教程之论坛编辑器默认勾选 HTML代码&禁用链接识别 的修改方法

[复制链接]
发表于 2025-7-19 08:33:39 | 显示全部楼层 |阅读模式
经常有很多站长朋友问怎么才能默认勾选html代码,编辑器怎么修改能够默认勾选HTML代码。现在将这个问题整理成教程,希望对有其他类似问题的朋友有所启发。
首先第一步,你要开启版块允许使用HTML代码,不熟悉的朋友请去看后台使用文档
第二步,打开template\default\forum\post_editor_attribute.htm
第三步,搜索
<label for="htmlon"><input type="checkbox"
第四步,在后面添加
checked="checked"
第五步,上传,更新缓存

禁用链接识别代码区
<label for="parseurloff"><input type="checkbox" name="parseurloff" id="parseurloff" class="pc" value="1" $urloffcheck  />{lang disable}{lang post_parseurl}</label>

同理修改


主题推广




回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 立即注册

切换至【手机版】|主站|Archiver| Amituforum 无量觉社区

JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!JS of wanmeiff.com and vcpic.com Please keep this copyright information, respect of, thank you!

|网站地图

GMT+8, 2026-2-4 15:03 , Processed in 0.178185 second(s), 11 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Discuz Team.

快速回复 返回顶部 返回列表