mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 13:39:39 +08:00
parent
3fd53d2bc2
commit
f4bfc1e795
@ -9,14 +9,7 @@
|
||||
|
||||
<p>@((MarkupString)Localizer["P1"].Value)</p>
|
||||
|
||||
<div class="code-label">.NET CLI</div>
|
||||
<Pre class="no-highlight">dotnet add package BootstrapBlazor.SummerNote --version @Version</Pre>
|
||||
|
||||
<div class="code-label">PackageReference</div>
|
||||
<Pre class="no-highlight"><PackageReference Include="BootstrapBlazor.SummerNote" Version="@Version" /></Pre>
|
||||
|
||||
<div class="code-label">Package Manager</div>
|
||||
<Pre class="no-highlight">Install-Package BootstrapBlazor.SummerNote -Version @Version</Pre>
|
||||
<PackageTips Name="BootstrapBlazor.SummerNote" />
|
||||
|
||||
<DemoBlock Title="@Localizer["Block1Title"]" Introduction="@Localizer["Block1Intro"]" Name="Normal">
|
||||
<p>@((MarkupString)Localizer["P2"].Value)</p>
|
||||
|
@ -9,24 +9,12 @@ namespace BootstrapBlazor.Shared.Samples;
|
||||
/// </summary>
|
||||
public sealed partial class Editors
|
||||
{
|
||||
/// <summary>
|
||||
/// 获得/设置 版本号字符串
|
||||
/// </summary>
|
||||
private string Version { get; set; } = "fetching";
|
||||
|
||||
private string? EditorValue { get; set; }
|
||||
|
||||
[NotNull]
|
||||
private Editor? Editor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// OnInitializedAsync 方法
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
Version = await VersionManager.GetVersionAsync("bootstrapblazor.summernote");
|
||||
}
|
||||
|
||||
private Task OnValueChanged(string val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user