开发者

What is the drupal way for wysiwyg reply edit box?

开发者 https://www.devze.com 2022-12-20 13:08 出处:网络
I\'m making a forum and I\'m using drupal6 advance-开发者_C百科forum module. I browsed all the admin sections and I still cannot figure it out

I'm making a forum and I'm using drupal6 advance-开发者_C百科forum module.

I browsed all the admin sections and I still cannot figure it out how to put a wysiwyg edit toolbar on the reply form. It shows in the admin section when I create a topic but not outside the admin section.

Should I do that manually? - I can do it with java script, but if I do that, than I don't think that it will be the drupal easy maintain way...


In Drupal 6, I'd use the WYSIWYG Module along with the Better Formats Module.

http://drupal.org/project/wysiwyg
http://drupal.org/project/better_formats

After installing and enabling both of these modules you'll want to:

  1. Add and/or configure a specific input format for wysiwyg use on comments at Administer > Site Configuration > Input Formats (might want to disable any filters at first to avoid possible conflicts with the WYSIWYG script)
  2. From the Input Formats admin section, click on the Defaults tab and select this input format as the default for comments.
  3. Finally, visit Administer > Site Configuration > WYSIWYG where you can get instructions on installing your WYSIWYG of your choice. After the WYSIWYG scripts are in place you can select that WYSIWYG for your chosen input format and configure any available options.

Better Formats also allows you to turn on default input formats per node type, so you could use the same WYSIWYG enabled input format as the default for initial forums posts as well as the comments.


Wysiwyg editors in Drupal us usually related to input formats. Check what input format is used for the reply form.

The wysiwyg module and better formats module is pretty good combo you can use to setup editors for different roles in different senarios.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号