Rich Text Editor on Xamarin Android

frederico Monteiro 1 Reputation point
2022-02-02T19:31:07.907+00:00

Hi,
I've been trying to use a rich text editor in Xamarin android for a long time.
I've already tried to use native android libraries in java but without success and I can't find any example on the internet of how to use a rich text editor in native Xamarin, I suppose this is something fundamental for many applications can anyone help me?

Developer technologies .NET Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-02-03T06:30:22.13+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    Here is no rich text editor in the Xamarin Forms.

    You need to create a custom renderer for Editor in Android to achieve it.

    Or you can use WebView and load a WebBased rich text editor. Here is a similar thread about creating a Rich Text box with webview in xamarin forms? Note: If you download the Rich-Text-Editor-jQuery-RichText.zip, you need to copy the files in examples to the Android Assets folder, then copy the src folder as well to the Android Assets folder. Then open the fontawesome5.html file, change ../src to src in the link href="src/richtext.min.css" and script src="src/jquery.richtext.js"

    Or you can use third-part plugin to achieve it. Please search: Rich Text Editor on Xamarin.

    Best Regards,
    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.