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

RichText Unable To Nest in Accordion

I'm able to nest a grid:




But am unable to nest the RichText Box.. It appears outside the accordion entirely and has a strange version that displays inside accordion.


You can see from this image that the editor is entirely outside and there is a small text box inside.

 

Any thoughts on why it wont show up or how I can get it to show up in the accordion?

Thanks,
Mark

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team June 10, 2019 10:18 AM UTC

Hi Mark, 
 
Syncfusion greetings. 
 
Please use the below code example to render RTE component within in Accordion.  
 
<ejs-accordion id="defaultAccordion"> 
    <e-accordion-accordionitems> 
        <e-accordion-accordionitem expanded="true" header="Text Editor" content="#RTE"></e-accordion-accordionitem> 
        <e-accordion-accordionitem header="Grid"  content="#grid"></e-accordion-accordionitem> 
    </e-accordion-accordionitems> 
</ejs-accordion> 
 
<div style="display: none"> 
    <div id="RTE"> 
        <ejs-richtexteditor id="defaultRTE"> 
            <e-content-template> 
              ------------ 
            </e-content-template> 
            <e-richtexteditor-toolbarsettings items="@ViewBag.tools"> 
            </e-richtexteditor-toolbarsettings> 
        </ejs-richtexteditor> 
    </div> 
</div> 
 
 
Regards, 
Karthi 
 


Loader.
Live Chat Icon For mobile
Up arrow icon