You need to sign in to do that
Don't have an account?
Alex.Acosta
Winter 15 - VisualForce Rich Text Editor Bug
Affected Orgs: Winter 15 Sandboxes
When using a field described as a Rich Text Field and displayed within a visualforce page, the content is not copied over to the hidden textarea. Thus Updates are not possible. All other fields are able to be updated correctly. Also no error messages are shown
Example Code:
When using a field described as a Rich Text Field and displayed within a visualforce page, the content is not copied over to the hidden textarea. Thus Updates are not possible. All other fields are able to be updated correctly. Also no error messages are shown
Example Code:
<apex:page standardController="Template__c"> <!-- Error Message --> <apex:outputPanel id="msg"> <apex:pageMessages /> </apex:outputPanel> <!-- Form --> <apex:form id="theForm"> <apex:pageBlock title="Template Edit"> <!-- Standard Buttons --> <apex:pageBlockButtons > <apex:commandButton action="{!save}" value="Save" rerender="msg,information,templateSubject" onclick="setTemplateBodyParams();"/> <apex:commandButton action="{!cancel}" value="Cancel"/> </apex:pageBlockButtons> <!-- Body --> <apex:pageBlockSection columns="1" title="Information" collapsible="false" id="information"> <!-- Sobject Name Field (String Type) ---> <apex:inputField value="{!Template__c.Name}" /> <!-- Sobject CustomField (String Type) ---> <apex:inputField value="{!Template__c.TemplateSubject__c}"/> <!-- Sobject CustomField (RichText Type) ---> <apex:inputField value="{!Template__c.TemplateBody__c}"/> <!-- Sobject OwnerId Field (Lookup Type) ---> <apex:outputField value="{!Template.OwnerId}" /> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </body> </apex:page>
Please run it again