TwoSky.WebComponents.RichText
3.2.0
See the version list below for details.
dotnet add package TwoSky.WebComponents.RichText --version 3.2.0
NuGet\Install-Package TwoSky.WebComponents.RichText -Version 3.2.0
<PackageReference Include="TwoSky.WebComponents.RichText" Version="3.2.0" />
<PackageVersion Include="TwoSky.WebComponents.RichText" Version="3.2.0" />
<PackageReference Include="TwoSky.WebComponents.RichText" />
paket add TwoSky.WebComponents.RichText --version 3.2.0
#r "nuget: TwoSky.WebComponents.RichText, 3.2.0"
#:package TwoSky.WebComponents.RichText@3.2.0
#addin nuget:?package=TwoSky.WebComponents.RichText&version=3.2.0
#tool nuget:?package=TwoSky.WebComponents.RichText&version=3.2.0
RichText editor
The RichText editor provides a configurable editor for editing and displaying html content.
This plugin is only compatible with the Web3 Vidyano client.
After installing the plugin, add the following line to app.ts :
import "../rich-text/rich-text";
and add "scripthost" to the lib collection of the compilerOptions in tsconfig.ts
"lib": [
"ES2020",
"DOM",
"scripthost"
],
Install the SunEditor nmp package with :
npm install suneditor --save
Then rebuild the frontend code.
In the backend, give an attribute the "RichText" data type.
The editor can be configured with the following typehints:
buttons
This typehint configures which buttons are displayed in the menu bar. Here a list of all possibilities :"undo", "redo", "font", "fontSize", "formatBlock", "paragraphStyle", "blockquote", "bold", "underline", "italic", "strike", "subscript", "superscript", "fontColor", "hiliteColor", "textStyle", "removeFormat", "outdent", "indent", "align", "horizontalRule", "list", "lineHeight", "table", "link", "image", "video", "audio", "math", "imageGallery", "fullScreen", "showBlocks", "codeView, "preview", "print", "save", "template", "dir_ltr", "dir_rtl",
Plugin names are comma separated, and can be grouped when separated with a "|". The "/" character can be used to create a new menu bar.
The default is :
buttons=undo,redo|font,fontSize,formatBlock,paragraphStyle,blockquote|bold,underline,italic,strike,subscript,superscript|/|fontColor,hiliteColor,textStyle|removeFormat|outdent,indent|align,horizontalRule,list,lineHeight|showBlocks,codeView,print|table|image,video,audio,link
mode
This typehint defines the way the menu is displayed.
Possibilities are "classis", "balloon", "balloon-always"
language
This typehint defines the language of some text labels of the buttons in the menu bar.
Possibilities are "nl", "fr", "de", "en"
bottombar
This typehint defines whether a bottombar is shown or not. Possibilities are "true" and "false"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Vidyano (>= 6.0.20251117.6180)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.