Skip to content

Repository files navigation

ToastUI Editor Blazor NuGet

English | 简体中文

tui.editor.blazor is a Blazor wrapper for the Toast UI Editor. It supports Blazor Server and Blazor WebAssembly on .NET 6, .NET 7, .NET 8, .NET 9, and .NET 10.

Installation

dotnet add package ToastUIEditor

Quick start

Add @using ToastUI to _Imports.razor:

<Editor @bind-Value="content" Options="options" />
<Viewer Value="content" />

@code {
    private string content = "# Hello, Toast UI!";
    private EditorOptions options = new();
}

The components expose editor/viewer events and methods through @ref. See the package README for a concise API example and the source code XML documentation for the complete API.

Development

dotnet build ToastUIEditor.sln --configuration Release
dotnet test tests/ToastUIEditor.Tests/ToastUIEditor.Tests.csproj --configuration Release

GitHub Actions build and test pull requests. Publishing a GitHub Release or manually dispatching the publish workflow creates and publishes the NuGet package.

License

This project is licensed under the MIT License.

About

A Blazor component that provides a Markdown editor based on the ToastUI Editor library.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages