From acbe000f97cab792ac4fb282f6452c0aebf76ce4 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 3 Jul 2024 17:59:40 +0800 Subject: [PATCH] avoid race condition issue. --- Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor b/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor index 9a744210..95f9fb0c 100644 --- a/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor +++ b/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor @@ -242,11 +242,11 @@ { await base.OnAfterRenderAsync(firstRender); + await LoadSettings(); if (_allowRichText) { if (firstRender) { - await LoadSettings(); await interop.CreateEditor( _editorElement, _toolBar,