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
An_jaAn_ja 

Can you display a Rich Text Area input fieldin a sites page?

this does not display in my sites page

 

<apex:inputTextarea id="Details" value="{!SpR.Details__c}" richText="true" />

Best Answer chosen by Admin (Salesforce Developers) 
An_jaAn_ja

removed base href tag in html code and it worked

All Answers

An_jaAn_ja

removed base href tag in html code and it worked

This was selected as the best answer
__sandra____sandra__

Can you please give more details on how it does work for you?

 

thank you!

An_jaAn_ja

Sure - I had a base href tag "<base href="http://www.xxxxxx.com" />" poiniting to the company website. When I removed this, the field showed up.

 

Just in case - a base href is used to specify a default URL and a default target for all links on a page - I have to use the long version instead

__sandra____sandra__

Thank you!

 

I have juste tried it and it works, but I have an other problem, I want to allow users of my site to upload new pictures, but the rich texte area does only allow to give a url for a web based picture, no upload possibe (but it is possible while using salesforce)

 

any ideas?

 

thanks!!

An_jaAn_ja

Yeah, it is a know issue with Salesforce. I have a long-time case open with them regarding this and it is something they are looking into, but no fix so far.