Render Rich Text Editor in ASP.NET Core Dialog
When rendering the Rich Text Editor inside a Dialog control, the dialog container and its wrapper elements are initially styled with display: none. This styling prevents the editor’s toolbar from calculating the proper offset width, causing the toolbar to render incorrectly and appear above the edit area.
To resolve this issue, call the refreshUI method of the Rich Text Editor in the open event of the Dialog. This ensures that the Rich Text Editor’s UI is properly refreshed and rendered once the Dialog becomes visible.