diff --git a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj index 1a5ee8b7..19017c17 100644 --- a/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj +++ b/src/components/BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj @@ -1,5 +1,9 @@ + + 10.0.1 + + Bootstrap Blazor WebAssembly wasm UI Components Vditor Markdown Bootstrap UI components extensions of Vditor Markdown diff --git a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs index 5555c285..3af80615 100644 --- a/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs +++ b/src/components/BootstrapBlazor.Vditor/Vditor.razor.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ @@ -237,10 +237,11 @@ public async Task TriggerRenderedAsync() [JSInvokable] public async Task TriggerInputAsync(string value) { + _lastValue = value; + CurrentValue = value; + if (OnInputAsync != null) { - _lastValue = value; - CurrentValue = value; await OnInputAsync(value); } }