From ce50ac5c5b4323b5d29977434d6cb7f10798028f Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:25:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Editor/Editor.razor | 8 ++++++-- .../Components/Editor/Editor.razor.cs | 20 +------------------ 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor b/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor index 9054a12a..6b88d260 100644 --- a/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor +++ b/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor @@ -1,8 +1,12 @@ -@namespace BootstrapBlazor.Components +@namespace BootstrapBlazor.Components @using Microsoft.AspNetCore.Components.Web -@inherits BootstrapModuleComponentBase +@inherits ValidateBase @attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.js", JSObjectReference = true)] +@if (IsShowLabel) +{ + +}
diff --git a/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.cs b/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.cs index 8839c343..aa397c8c 100644 --- a/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.cs +++ b/src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.cs @@ -1,4 +1,4 @@ -// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Copyright (c) Argo Zhang (argo@163.com). 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/ @@ -76,12 +76,6 @@ public partial class Editor private string? _lastValue; - /// - /// 获得/设置 组件值 - /// - [Parameter] - public string? Value { get; set; } - /// /// 获得/设置 语言,默认为 null 自动判断,内置中英文额外语言包需要自行引入语言包 /// @@ -94,18 +88,6 @@ public partial class Editor [Parameter] public string? LanguageUrl { get; set; } - /// - /// 获得/设置 组件值变化后的回调委托 - /// - [Parameter] - public EventCallback ValueChanged { get; set; } - - /// - /// 获得/设置 组件值变化后的回调委托 - /// - [Parameter] - public Func? OnValueChanged { get; set; } - /// /// 获取/设置 插件点击时的回调委托 /// From a525e136d87a68706dbe6ef17972dba7f53c23fc Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 7 Nov 2025 15:25:35 +0800 Subject: [PATCH 2/2] chore: bump version 9.0.8 --- .../BootstrapBlazor.SummerNote.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BootstrapBlazor.SummerNote/BootstrapBlazor.SummerNote.csproj b/src/components/BootstrapBlazor.SummerNote/BootstrapBlazor.SummerNote.csproj index 5d2d310e..a8482506 100644 --- a/src/components/BootstrapBlazor.SummerNote/BootstrapBlazor.SummerNote.csproj +++ b/src/components/BootstrapBlazor.SummerNote/BootstrapBlazor.SummerNote.csproj @@ -1,7 +1,7 @@ - 9.0.7 + 9.0.8