The RichTextEditor's toolbar blocks (overflows into) the first couple of lines of document.

Hello Syncfusion Team,

I'm using the latest version of syncfusion's angular components (17.4.47).

I have a rich text editor placed inside a dialog control. 

The RichTextEditor's toolbar blocks (overflows into) the first couple of lines of document. Switching the toolbar to 'Expand' from 'MultiRow' does not help. 

Please see this stackblitz demo: https://stackblitz.com/edit/rte-toolbar-block

After the dialog opens, you'll have to click 'enter' key a couple of times so that the next couple of lines become visible.

Please let me know how this can be addressed.

Thanks,
Mithun  

3 Replies

IS Indrajith Srinivasan Syncfusion Team February 14, 2020 10:50 AM UTC

Hi Mithun, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query, the RichTextEditor width is not calculated properly when rendering inside the Dialog. So, Switching the toolbar to `Expand` from `MultiRow` does not depends on this toolbar issue. We suggest you call the RichTextEditor refreshUI() method in the Dialog Open event to resolve the reported issue. We have also prepared a sample based on your requirement. 
 
 
Regards, 
Indrajith 



MI Mithun February 17, 2020 08:18 AM UTC

Hi Indrajith,

Thanks! That solution worked. Highly appreciate it.

Thanks,
-Mithun


IS Indrajith Srinivasan Syncfusion Team February 18, 2020 05:38 AM UTC

Hi Mithun,

Thanks for the update, 
  
We are glad that your reported issue is resolved. Please let us know if you need any further assitance on this. 
  
Regards, 
Indrajith 


Loader.
Up arrow icon