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


Hi,

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.
<code>
ASPX

<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%" >

        </ej:RTE>

        </div>

</ code>
Download the sample from the link below:
http://www.syncfusion.com/downloads/support/forum/120995/ze/RTEsample909023821
Please let us know if you have any other queries.
Regards,
Arun P


Loader.
Up arrow icon