Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.0.7</Version>
<Version>9.0.8</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
@namespace BootstrapBlazor.Components
@namespace BootstrapBlazor.Components
@using Microsoft.AspNetCore.Components.Web
@inherits BootstrapModuleComponentBase
@inherits ValidateBase<string>
@attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.js", JSObjectReference = true)]

@if (IsShowLabel)
{
<BootstrapLabel required="@Required" for="@Id" ShowLabelTooltip="ShowLabelTooltip" Value="@DisplayText" />
}
<div @attributes="@AdditionalAttributes" id="@Id" class="editor" data-bb-submit="@ShowSubmitString">
<div class="@EditClassString" placeholder="@PlaceHolder"></div>
</div>
Original file line number Diff line number Diff line change
@@ -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/

Expand Down Expand Up @@ -76,12 +76,6 @@ public partial class Editor

private string? _lastValue;

/// <summary>
/// 获得/设置 组件值
/// </summary>
[Parameter]
public string? Value { get; set; }

/// <summary>
/// 获得/设置 语言,默认为 null 自动判断,内置中英文额外语言包需要自行引入语言包
/// </summary>
Expand All @@ -94,18 +88,6 @@ public partial class Editor
[Parameter]
public string? LanguageUrl { get; set; }

/// <summary>
/// 获得/设置 组件值变化后的回调委托
/// </summary>
[Parameter]
public EventCallback<string?> ValueChanged { get; set; }

/// <summary>
/// 获得/设置 组件值变化后的回调委托
/// </summary>
[Parameter]
public Func<string, Task>? OnValueChanged { get; set; }

/// <summary>
/// 获取/设置 插件点击时的回调委托
/// </summary>
Expand Down
Loading