To address the error: Cannot read property 'root' of undefined TypeError: Cannot read property 'root' of undefined at Object.loadQuillContent
This commit is contained in:
parent
07f09361b9
commit
3b02a936bd
@ -78,16 +78,20 @@ else
|
|||||||
string modifiedby;
|
string modifiedby;
|
||||||
DateTime modifiedon;
|
DateTime modifiedon;
|
||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task
|
||||||
|
OnAfterRenderAsync(bool firstRender)
|
||||||
{
|
{
|
||||||
try
|
if (firstRender)
|
||||||
{
|
{
|
||||||
await LoadText();
|
try
|
||||||
}
|
{
|
||||||
catch (Exception ex)
|
await LoadText();
|
||||||
{
|
}
|
||||||
await logger.LogError(ex, "An Error Occurred Loading Html/Text Content. " + ex.Message);
|
catch (Exception ex)
|
||||||
AddModuleMessage(ex.Message, MessageType.Error);
|
{
|
||||||
|
await logger.LogError(ex, "An Error Occurred Loading Html/Text Content. " + ex.Message);
|
||||||
|
AddModuleMessage(ex.Message, MessageType.Error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user