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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does not show scrollbar when value property

Thread ID:

Created:

Updated:

Platform:

Replies:

141733 Dec 31,2018 10:40 PM UTC Jan 2,2019 12:38 PM UTC JavaScript - EJ 2 1
loading
Tags: RichTextEditor
sampurnima kovi
Asked On December 31, 2018 10:40 PM UTC


var defaultRTE = new ej.richtexteditor.RichTextEditor();
            defaultRTE.appendTo("#defaultRTE");

  defaultRTE.value = htmlString;  // large html string

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



Prince Oliver [Syncfusion]
Replied On January 2, 2019 12:38 PM UTC

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 
 
Regards, 
Prince 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon