BlazingComponents.Summernote
0.0.6
dotnet add package BlazingComponents.Summernote --version 0.0.6
NuGet\Install-Package BlazingComponents.Summernote -Version 0.0.6
<PackageReference Include="BlazingComponents.Summernote" Version="0.0.6" />
paket add BlazingComponents.Summernote --version 0.0.6
#r "nuget: BlazingComponents.Summernote, 0.0.6"
// Install BlazingComponents.Summernote as a Cake Addin #addin nuget:?package=BlazingComponents.Summernote&version=0.0.6 // Install BlazingComponents.Summernote as a Cake Tool #tool nuget:?package=BlazingComponents.Summernote&version=0.0.6
BlazingComponents
Blazing Components is a collection of easy to use and implement Razor components class libraries
Summernote
Summernote is a Super simple WYSIWYG Editor,
Check their homepage for more details.
Setup
Add reference to style sheet & javascript references Add the following line to the head tag of your _Host.cshtml (Blazor Server) or index.html (Blazor WebAssembly).
Head Inclusions
<link href="./_content/BlazingComponents.Summernote/summernote/summernote-lite.min.css" rel="stylesheet" />
Example: (head)
....
<link href="{YourBlazorProject}.styles.css" rel="stylesheet" />
<link href="./_content/BlazingComponents.Summernote/summernote/summernote-lite.min.css" rel="stylesheet" />
</head>
Then add a reference to the Summernode JavaScript file at the bottom of the respective page after the reference to the Blazor file.
Body Inclusions
<script src="./_content/BlazingComponents.Summernote/summernote/jquery-3.4.1.slim.min.js"></script>
<script src="./_content/BlazingComponents.Summernote/summernote/summernote-lite.min.js"></script>
Example: (body)
....
<script src="_framework/blazor.webassembly.js"></script>
<script src="./_content/BlazingComponents.Summernote/summernote/jquery-3.4.1.slim.min.js"></script>
<script src="./_content/BlazingComponents.Summernote/summernote/summernote-lite.min.js"></script>
<script>navigator.serviceWorker.register('service-worker.js');</script>
</body>
Usage
BlazingComponents.Summernote will update the bound content variable on change in the editor.
@page "/"
<BlazingComponents.Summernote.Editor @bind-content="@content" />
<h2>@content</h2>
@code{
private string content;
}
ToDo
Add additional configuration and customiztion options.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- Microsoft.AspNetCore.Components.Web (>= 5.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.6 | 2,111 | 2/14/2021 |