We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Does not show scrollbar when value property

var defaultRTE = new ej.richtexteditor.RichTextEditor();

  defaultRTE.value = htmlString;  // large html string

Scrollbar does not get updated, when you resize the window, the scrollbar shows up

1 Reply

PO Prince Oliver Syncfusion Team January 2, 2019 07:38 AM

Hi Sampurnima, 
Thank you for using Syncfusion products. 
By default, height of RTE will be set to auto and height will be automatically adjusted based on the content without scroller inside RTE. Scroller will be added only when we have set a particular height for RTE and content goes beyond that height. Kindly refer to the following sample: https://stackblitz.com/edit/ksed3s  
In the above sample, scroller will be added because content length exceeds the height of RTE. Else, you can also set max-height for content of RTE in sample through CSS 

Live Chat Icon For mobile
Up arrow icon