Telerik Forums
UI for Xamarin Forum
2 answers
80 views
Does anyone have a suggestion for binding the state of a button to whether the RichTextEditor contains text? I don't want the button to be enabled unless there is content in the rich text editor.
Didi
Telerik team
 updated answer on 19 Jan 2022
1 answer
85 views

Hello Guys,

According to the meta data,

The Xamarin RichTextEditor's SelectionRange object is settable


 //
// Description:
//     Gets or sets the selection range of the text in the Telerik.XamarinForms.RichTextEditor.RadRichTextEditor.
public RichTextSelectionRange SelectionRange { get; set; }

So I tried to "set" the SelectionRange by code:


 public void SetSelecionRange(int startIndex, int endIndex)
        {
            EditBox.SelectionRange = new RichTextSelectionRange(startIndex, endIndex);
        }

But actually nothing happens, and I am not sure the how the start and end index of the selection is configured, perhaps based on the html code index? or plain text index?

I am not able to find the guide for setting selection range.

 

Please offer some help.

Yana
Telerik team
 answered on 31 Aug 2021
1 answer
244 views
Hello, I am debugging using an android device and it just can't seem to hit my breakpoint for the Focused event even though other event does like PropertyChanged. My app uses Telerik UI 2020.3.1106.1 and Xamarin Forms 4.8.0.1821.
Didi
Telerik team
 answered on 17 May 2021
1 answer
90 views
Is there a way to add a placeholder in RichTextEditor when it's empty? Thanks.
Yana
Telerik team
 answered on 14 May 2021
6 answers
266 views
Hello, I am using the rich text editor to edit large word documents.
 
I noticed that if the screen rotation happens from portrait to landscape, all the content will shrink to the left part, with the right half empty,.and cannot be fixed unless you rotate it back.
 
Actually even when initially loaded, the horizontal scrollbar is wider than the content, which might be the reason causing the problem?
 

 
Is there a way to fit the scrollbars to the content, and make it display as expected during device rotation ?
 
I really needs to fix this 
 
Regards
Yana
Telerik team
 answered on 21 Apr 2021
3 answers
534 views

Hello everyone.

Since the richtexteditor control now supports setting a selection range programmatically, by the method EditBox.SelectionRange  = new RichTextSelectionRange(startPosition,endPosition);

I just need to know how to insert specified plain text or html code at the current selected range or cursor position?

I guess probably I can achieve this by invoking javascript, but the webView.EvaluateJavaScriptAsync("<Your JS goes here>") not seems to be exposed.

Thank you.

Yana
Telerik team
 answered on 14 Apr 2021
5 answers
76 views
     Perhaps I'm missing something obvious; apologies if so. I'm using a black background on my RichTextEditor and cannot see the text when I type (though it is there). I've tried the obvious properties of TextColor, etc.  What am I missing?
Yana
Telerik team
 answered on 08 Mar 2021
2 answers
107 views
RadDocument, RadDocumentMerger, etc. were removed?
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 09 Feb 2021
2 answers
514 views

The entire screen for iOS is pushing up the entire screen when editing Rich Text Editor with the keyboard popped out, making the toolbar not accessible anymore.

The first attached picture is without the keyboard popped out, and the second picture is with keyboard.

This issue is only applicable for iOS devices, android devices work fine. Is there some way to work around this issue? Thanks.

Didi
Telerik team
 answered on 25 Nov 2020
5 answers
274 views

Sorry if this is a real newbie question...

How do I use RichTextEditor with MVVM?  I'm not using an MVVM implementation (Fresh, etc.), I just want to bind the text (html) of the control to my view model but I'm stumped.  Thanks.

Ivan
Telerik team
 answered on 28 Oct 2020
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?