Hi Darryl,
Greetings from Syncfusion support.
Query 1: I am developing a dialog modal with a richtexteditor, both resizable. My requirement is when I resize the dialog, the richtexteditor should auto resize. I can resize the richtexteditor separately but not with dialog resize
We have validated this reported issue from our end. The RichTextEditor toolbar adjusts only for window resize as per our design. In your case window resize event won’t trigger on dialog resize action, so facing this issue. To resolve it from application end, we suggest to call refreshUI() public method of RichTextEditor on dialog resizing/resizeStop event callback as follows
HTML:
<ejs-dialog #Dialog [enableResize]="true" (resizeStop)='onDialogResizeStop()'>
<ng-template #content>
<ejs-richtexteditor #defaultRTE [enableResize]="true">
</ejs-richtexteditor>
</ng-template>
</ejs-dialog>
TS:
export class AppComponent {
@ViewChild('defaultRTE', null) public rteObj: RichTextEditorComponent;
onDialogResizeStop() {
this.rteObj.refreshUI();
}
}
|
Dialog Events
RichTextEditor Method
We have prepared sample for your reference, get it from below link
Query 2: None of the examples given in demos doesn't work in stackblitz
We are facing some technical issue with stackblitz and we have reported this to stackblitz team. We will let you know, once the stackblitz team fixed their issue.
Regards,
Pandiyaraj