TEditor2 1.4.4

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package TEditor2 --version 1.4.4
NuGet\Install-Package TEditor2 -Version 1.4.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TEditor2" Version="1.4.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TEditor2 --version 1.4.4
#r "nuget: TEditor2, 1.4.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TEditor2 as a Cake Addin
#addin nuget:?package=TEditor2&version=1.4.4

// Install TEditor2 as a Cake Tool
#tool nuget:?package=TEditor2&version=1.4.4

TEditor2 for Xamarin

I refactor this project based on TEditor(https://github.com/XAM-Consulting/TEditor), removed UIWebView, and using WKWebView instead. Refactor project to netstandard lib. TEditor is a HTML editor for Xamarin, it has so many build-in features and easy to use.

NuGet

Demo

iOSDemo DroidDemo

Usage

Available on Nuget:https://www.nuget.org/packages/TEditor2/

Call single line from any project or PCL, make sure it must be in UIThread.

        TEditorResponse response = await CrossTEditor.Current.ShowTEditor("<p>XAM consulting</p>");
        if (!string.IsNullOrEmpty(response.HTML))
            _displayWebView.Source = new HtmlWebViewSource() { Html = response.HTML };
		

If user click save it will return html as string. If user click cancel, it return empty string.

Custom

TEditor allow user to custom toolbar, you can add features when you need it, like

     var toolbar = new ToolbarBuilder().AddBasic().AddH1();
     TEditorResponse response = await CrossTEditor.Current.ShowTEditor("<p>XAM consulting</p>", toolbar);

Also, you can add a new ToolbarItem with new icon like

    var toolbar = new ToolbarBuilder().AddBasic().AddH1("H1Icon.png");

Features

Features Platforms
Bold Xamarin.iOS
Italic Xamarin.Android
Underline
Remove format Basic
Justify center
Justify full
Justify left
Justify right
H1 ... H6
Text color
Add unordered list
Add ordered list Standard
Subscript
Superscript
Strikethrough
Horizontal rule
Indent
Outdent
Undo
Redo
Paragraph All

Powered By:

TEditor2

ZSSRichTextEditor

PopColorPicker

MonoDroid.ColorPickers

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid81 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.4.10-preview 311 11/10/2021
1.4.9-preview 214 11/10/2021
1.4.8-preview 325 12/1/2020
1.4.7-preview 318 11/30/2020
1.4.6-preview 268 11/25/2020
1.4.5-preview 312 11/9/2020
1.4.4 1,868 11/9/2020