We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Use RTE in the comments form

How Do I?

deswork's avatar
deswork
93 posts
6 years ago
deswork's avatar deswork

Hi, is it possible to use the RTE in the comment form? I’ve tried adding the rte class to the textarea but it doesn’t change it to the RTE.

{exp:comment:form channel="blog" preview="channel/preview"}
  <label for="comment">Comment:</label>

  <textarea name="comment" cols="70" rows="10">{comment}</textarea>
  <label><input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?</label>

  <input type="submit" name="submit" value="Submit" />
{/exp:comment:form}

Thanks

Wayne.

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
6 years ago
Kevin Cupp's avatar Kevin Cupp

It should work on any textarea, provided you include the RTE JavaScript on your page. See in the Introduction here:

https://docs.expressionengine.com/v5/add-ons/rte/index.html

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.