TEditor2 1.4.4
See the version list below for details.
dotnet add package TEditor2 --version 1.4.4
NuGet\Install-Package TEditor2 -Version 1.4.4
<PackageReference Include="TEditor2" Version="1.4.4" />
paket add TEditor2 --version 1.4.4
#r "nuget: TEditor2, 1.4.4"
// 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.
Demo
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:
Product | Versions 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. |
-
.NETStandard 2.0
- Xamarin.Forms (>= 4.4.0.991640)
-
MonoAndroid 8.1
- Xamarin.Android.Support.v7.AppCompat (>= 28.0.0.3)
- Xamarin.Forms (>= 4.4.0.991640)
-
Xamarin.iOS 1.0
- Xamarin.Forms (>= 4.4.0.991640)
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 | 344 | 11/10/2021 |
1.4.9-preview | 238 | 11/10/2021 |
1.4.8-preview | 354 | 12/1/2020 |
1.4.7-preview | 344 | 11/30/2020 |
1.4.6-preview | 294 | 11/25/2020 |
1.4.5-preview | 338 | 11/9/2020 |
1.4.4 | 2,324 | 11/9/2020 |