function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sascha DeinertSascha Deinert 

Inputfield with formatting html possibility

Hi,

how can I add to my visualforce an inputfield with the possibility to change the formatting - text like bold or to change the color ....?  

Like this -->
html

Thanks,
Sascha
Best Answer chosen by Sascha Deinert
ANUTEJANUTEJ (Salesforce Developers) 
Hi Sascha,

I see that it is similar to a rich text input field so you can try the below tag once:

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

Link: https://salesforce.stackexchange.com/questions/135647/rich-text-area-field-in-visualforce-page

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.

All Answers

ANUTEJANUTEJ (Salesforce Developers) 
Hi Sascha,

I see that it is similar to a rich text input field so you can try the below tag once:

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

Link: https://salesforce.stackexchange.com/questions/135647/rich-text-area-field-in-visualforce-page

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
This was selected as the best answer
ANUTEJANUTEJ (Salesforce Developers) 
Another link regarding the similar is a visualforce component that is present in the below link:

https://github.com/Avinava/custom-rtf