Hi Syncfusion team,
I'm currently researching the way to resize the toolbar of the rich text control. Currently, in my application, I have a rich text control wrapped inside a div, and the div's rendered size can change. I find that in some cases, when the div changes in size, the toolbar of the rich text could overflow, and it looks like the toolbar is only resized once I change the size of the whole window.
Is there a way to resize the toolbar as the size of the parent div changes?
I tried to use the refresh() function of ej2_instances like this
- {element}.ej2_instances[0].refresh()
It seems to work until after a while, it throws a lot of errors like this
- "can't access property 0, {element}.ej2_instances is undefined"
and when I try to console log the {element}, I get a textarea like this
- <textarea id ="-value" class="e-rte-hidden" name = "">
The id is "-value", which is not the id I assigned the rich text