简体   繁体   English

Drupal - 如何更改评论的输入格式?

[英]Drupal - How to change input format for comments?

This issue irritates me much. 这个问题让我很烦恼。 Somehow after installing wysiwig editor my comment body form turned into rich.. bla bla area. 不知何故,在安装了wysiwig编辑器后,我的评论体形变成了丰富的... bla bla area。 I do not want this but I can not find the place where to turn back comment input format to the plain text (or filtered format). 我不想要这个,但我找不到将注释输入格式转回纯文本(或过滤格式)的地方。 I know how to change filter options for different content types but turning back comments to the simple format simply drives me crazy! 我知道如何更改不同内容类型的过滤器选项,但将注释转回简单格式只会让我发疯! Please help - where is this configuration place for comments? 请帮忙 - 这个配置位置在哪里评论?

here: 这里:

admin/structure/types/manage/[contentType]/comment/fields/comment_body

you could also set the format, in D7 at least .. 你也可以在D7中设置格式至少..

Better Formats will do the trick. 更好的格式将成功。 Some more details about this module (from its project page): 有关此模块的更多详细信息(从其项目页面):

Better formats is a module to add more flexibility to Drupal's core input format system. 更好的格式是为Drupal的核心输入格式系统增加更多灵活性的模块。

Features 特征

  • Set allowed text formats per field. 为每个字段设置允许的文本格式
  • Set default order of text formats per field. 设置每个字段的文本格式的默认顺序。
  • Hide format tips per role. 隐藏每个角色的格式提示。
  • Hide more format tips link per role. 隐藏每个角色的更多格式提示链接。
  • Hide format selection per role per entity. 隐藏每个实体每个角色的格式选择。
  • Currently only works on Field API fields on fieldable entities implementing core style text processing. 目前仅适用于实现核心样式文本处理的可实现实体的Field API字段。 The good thing is that is most things in core and contrib. 好处是核心和贡献的大多数事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM