3

For one of the requirements I need to send email from a visualforce page. Email body is expected to be entered in rich text area input(similar to salesforce object rich text area fields). Due to some limitation I can not bind some richtextarea field on user interface to show an editor.

Is it possible to achieve salesforce richtextarea element look without field binding. If not, What would be other options to display same considering I can not go for some paid/licensed editor for same.

3
  • try creditor. SF also use this tool internally and its free as well. Aug 5, 2016 at 8:27
  • Thank you Tushar. Any web link/ references for creditor ? Aug 5, 2016 at 8:31
  • try the demo Aug 5, 2016 at 8:34

2 Answers 2

7

you can use below tag to display richtext area in visualforce page.

<apex:inputtextarea label="RichText"  richtext="true" value="{!body}" 
     id="Body" cols="100" rows="15"/>
0

Try to like this :

<apex:inputField value="{!Account.RichText__c}"/>
2
  • OP asking for the rich text
    – Nick
    Dec 14, 2016 at 23:55
  • Why the downvote? Using an apex:inputField with a Rich Text field seems like a valid workaround for me.
    – Jose
    Jan 4, 2018 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .