From e2cce198d3ce62546e09c2812a0c2cbd00988ae8 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 28 Nov 2025 11:43:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E5=8F=8C?= =?UTF-8?q?=E5=90=91=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BootstrapBlazor.Vditor/Vditor.razor.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); } } From de92af66f52cb9cdd2c9a76983332090503b9015 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 28 Nov 2025 11:43:24 +0800 Subject: [PATCH 2/2] chore: bump version 10.0.1 --- .../BootstrapBlazor.Vditor/BootstrapBlazor.Vditor.csproj | 4 ++++ 1 file changed, 4 insertions(+) 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