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.3</Version>
<Version>9.0.4</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@namespace BootstrapBlazor.Components
@inherits BootstrapModuleComponentBase
@namespace BootstrapBlazor.Components
@inherits ValidateBase<string>
@attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.js", JSObjectReference = true)]

@if (IsShowLabel)
{
<BootstrapLabel required="@Required" for="@Id" ShowLabelTooltip="ShowLabelTooltip" Value="@DisplayText" />
}
<div @attributes="@AdditionalAttributes" id="@Id"></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 @@ -31,17 +31,6 @@ public partial class CherryMarkdown
public bool IsSupportMath { get; set; } = true;

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

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

/// <summary>
/// 获得/设置 组件 Html 代码
Expand Down
Loading