1

I would like to know if in Standard Drupal, the comment form allows you to select a text format such as "Full HTML", "Plain Text" and "Filtered HTML" when commenting or even posting an article?

I have installed some module like WYSIWYG, CKEDITOR,IMCE, .., so now I am confused and do not know if the reason I have the option to select format text when commenting is because of the modules that I have installed or not?

1 Answer 1

0

"Full HTML", "Plain Text" and "Filtered HTML" are default Textformats in Drupal, they determine which elements are allowed in the input and what gets filtered.

The wysiwyg editors only add UI controls to the field so user don't need to know HTML to style their output. If you don't want anonymous users to use formats like 'full html' you can turn it off in the permissions and give access to full html only to administrators or roles you trust.

2
  • Thanks, so full html is supported in comments?
    – user45866
    Apr 1, 2015 at 15:05
  • It is. However full HTML means you can post any html you want - including js. This is a potential security risk. As a result it is good to turn it off for anonymous users or roles you don't trust. If you need more tags than filtered html allowes you can either edit filtered html to allow additional tags or set up your own textformat with whatever tags you want.
    – Zuzuesque
    Apr 1, 2015 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.