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

RichTextEditor not shown within container


My RichTextEditor displayed out of the container. Is this normal?

Attachment: outofcontainer.png_540d9165.zip

1 Reply

AP Arun Palaniyandi Syncfusion Team November 3, 2015 12:32 PM UTC

Hi SK Yong,

Thanks for contacting Syncfusion Support.

Query:  RichTextEditor displayed out of the container. Is this normal?
Yes,it is very normal if the height and width of the RTE is set more the given container(div). So, set the width property as 100% then the RTE control will be set inside the given container irrespective of the height and width given to the RTE. Please refer to the given code for RTE display inside container.

<div class="rte" style="height:400px;width:650px;color:#ff0000;border-style:solid;border-width:5px;border-color:black">

        <ej:RTE ID="RTE1" runat="server" width="100%" >



</ code>
Download the sample from the link below:
Please let us know if you have any other queries.
Arun P

Live Chat Icon For mobile
Up arrow icon