Hi Thierry,
To have a restricted resizable area for the Rich Text Editor, you need to specify the min-width, max-width, min-height, and max-height CSS properties for the control’s wrapper element.
To resize only on vertical(height), you need to specify similar min and max width. please check the below code for your reference,
Code snippet:
let defaultRTE: RichTextEditor = new RichTextEditor({
enableResize: true,
height: 250,
}); defaultRTE.appendTo('#defaultRTE');
<style>
.e-richtexteditor {
max-width: 1000px;
min-width: 1000px;
max-height: 700px;
} </style>
|
You can also set maximum height for the Rich Text Editor by using max-height property.
Regards,
Vinitha