I have a WYSIWYG editor, but don't want it to show up as default when people post comments. I only want it available if they are adding content. How do I achieve this? Your help is greatly appreciated.

Comments

lomo’s picture

I think we really need a bit more of the details of your installation to know what the best solution is, but I don't think this should be hard to achieve. Are you using a WYSIWYG editor library configured with the WYSIWYG module? If you say that comments can only be left in plain text, then there will be no WYSIWYG editor assigned. To do that, select the "edit" function for the content type in question, go to the "Comment Fields" tab (near top), and click on "edit" next to the "comment body" field, then change it to a simple text format that has no WYSIWYG editor, perhaps most simply "plain text" (in the "text processing" radio button set).

That should work, but of course your use case might require other settings that preclude using this solution.

See you at the Drupalcon!

pyotr777’s picture

> LoMo

I had the same problem of writing comments in plain text only and you helped me to solve it.

lomo’s picture

Glad I helped someone. ;-)

See you at the Drupalcon!

wranvaud’s picture

With the module better_formats you can choose exactly what text format, or, in what order the text formats will be called on comments (or any other fields on your site too).
Anyway thx for the answer, it's not always easy to spot some of drupal settings.

dibyadel’s picture

Thanks it worked for me .