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
dkclxdkclx 

Rich Text Field and Inline Edit support

Have a Rich Text Field that I have set-up using InlineEditing on my VF Page.  However, when you mouse over it, the area that gets highlighted with the pencil is so narrow in height users can't tell that they have an ability to click and edit the field.  Any other field type works fine.  How do I increase the height of the highlighted area?

 

Sample code for this field is as follows:

<apex:outputField value="{!quote.Quote_Notes__c}">
<apex:inlineEditSupport showOnEdit="saveButton, cancelButton" hideOnEdit="editButton" event="ondblclick" resetFunction="resetInlineEdit"/>
</apex:outputField>

 

sravusravu

have you tried using style attribute to change the height  and width of the outputfield ?

slieslie

does it work ? i tried but nothing happened

dkclxdkclx

I tried all sorts of ways of changing the style attributes and nothing worked.  The only thing I got to do it was to stuff a <br/> tag into the field from the controller to force there to be some data in the field which fixed the height issue.  Not the best way but it did work.