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

Resizing rich text editor in one direction only i.e. vertical

HI Team,

Thanks for the nice product.

As I have been checking this, is there a way to resize text editor in one direction i.e. vertical or horizontal only and not diagonal.


Regars,

DevSync


1 Reply

VJ Vinitha Jeyakumar Syncfusion Team November 22, 2022 01:25 AM

Hi DevSync,

To resize only on vertical(height) direction, you need to specify similar min and max width for the Rich Text Editor. please check the below code for your reference,

Code snippet:
<ejs-richtexteditor id='defaultRTE' [enableResize]="true" height='250px'>
        
</ejs-richtexteditor>

.e-richtexteditor {
  max-width1000px;
  min-width1000px;
  min-height170px;
  max-height700px;
}




If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.

Regards,
Vinitha




Loader.
Live Chat Icon For mobile
Up arrow icon