Skip to content

Commit

Permalink
bump version & add support for .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
erinnmclaughlin committed Dec 24, 2024
1 parent 0892c89 commit 89b7a76
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET Core 🔧
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x
dotnet-version: 9.x

- name: Install .NET WASM Build Tools
run: dotnet workload install wasm-tools
Expand Down
4 changes: 2 additions & 2 deletions samples/BlazorServer/BlazorServer.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MudBlazor" Version="6.12.0" />
<PackageReference Include="MudBlazor" Version="7.15.0" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions samples/BlazorWasm/BlazorWasm.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="MudBlazor" Version="6.12.0" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
<PackageReference Include="MudBlazor" Version="7.15.0" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="3.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
9 changes: 9 additions & 0 deletions src/Tizzani.MudBlazor.HtmlEditor/MudHtmlViewer.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,17 @@
</div>

@code {

/// <summary>
/// The HTML content to render.
/// </summary>
[Parameter, EditorRequired]
public string Html { get; set; } = "";

/// <summary>
/// If <see langword="true" />, removes the default border from the HMTL content's container.
/// Default is <see langword="false" />.
/// </summary>
[Parameter]
public bool Borderless { get; set; } = false;
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Title>$(AssemblyName)</Title>
<Authors>erinnmclaughlin</Authors>
<RepositoryUrl>https://github.com/erinnmclaughlin/MudBlazor.HtmlEditor</RepositoryUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>2.2.1</Version>
<Version>2.3.0</Version>
<Description>A customizable HTML editor component for MudBlazor, powered by QuillJS.</Description>
<Copyright>2024 Erin McLaughlin</Copyright>
<PackageProjectUrl>https://github.com/erinnmclaughlin/MudBlazor.HtmlEditor</PackageProjectUrl>
Expand Down Expand Up @@ -45,4 +45,7 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.*" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.*" />
</ItemGroup>
</Project>

0 comments on commit 89b7a76

Please sign in to comment.