You need to sign in to do that
Don't have an account?
Kris Ryan SA
Rich Area Text formatting not correct when defaulting from another Rich Area Text
Hi,
We have an apex class that is defaulting information for a Visualforce page to send an email.
I have changed the class to pull the email signature from the user file. This is copying a rich text area field into another rich text area field.
This seems to work, shockingly, since I am not a coder. BUT there seems to be additional spacing on the visualforce page input.
Would someone be able to tell me how to fix this?
Apex Class code:
Visualforce Page:
Here is my email signature:
This is what the field ends up looking like:
See the additional line spacing? How can I make it look exactly like the email signature?
Thanks!!!
We have an apex class that is defaulting information for a Visualforce page to send an email.
I have changed the class to pull the email signature from the user file. This is copying a rich text area field into another rich text area field.
This seems to work, shockingly, since I am not a coder. BUT there seems to be additional spacing on the visualforce page input.
Would someone be able to tell me how to fix this?
Apex Class code:
public PCharter(ApexPages.StandardController stdController) { this.ProjectCharter = (Project_Charter__c)stdController.getRecord(); this.getProjectCharter(); User u = [Select Id, Name, Email_Signature__c from User where Id =: UserInfo.getUserId()]; this.ProjectCharter.Email_Message__c = u.Email_Signature__c;
Visualforce Page:
<p>Message: <br /><apex:inputTextarea richtext="true" value="{!ProjectCharter.Email_Message__c}" rows="20"/></p>
Here is my email signature:
This is what the field ends up looking like:
See the additional line spacing? How can I make it look exactly like the email signature?
Thanks!!!
Here is the whole output panel I currently have, which I should have included originally!