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
Sfdc AdminSfdc Admin 

Html place holder for text area fields using visualforce along with richtext editor

User-added image




In  visualforce code I have included place holder but output has only richtext editor. I have tried for other fields too but I was able to show either rich text editor or HTML placeholder. My requirement is to include both richtext editor and Html place holder on long description fields.

Please find my Code below:
<div 
class="slds-form-element__row ma-ltss-font_style  slds-p-top_xxx-small 
slds-p-left_small ">
<div class="slds-size_1-of-5  ">
 <label class="evv-slds-form-element__label">Acceptance Criteria/Future State </label>
</div>
<div class="slds-size_1-of-2 mh-ltss-requiredInput">
<div class="mh-ltss-requiredBlock"></div>
<div class="slds-form-element__control">
<apex:inputTextarea richText="true"    
value="{!UserStory__c.Acceptance_Criteria__c}" html-placeholder="Give  a brief description of user impact"  style="width: 250Px; height: 
150px;"/>
</div>
</div>
</div>