Focused event is not fired:
<richtexteditor:RadRichTextEditor Focused="RadRichTextEditor_Focused"/>
private void RadRichTextEditor_Focused(object sender, FocusEventArgs e)
{
}
<head>
<style>
p{
color:red;
}
</style>
</head>
<p style="color: red;">This is a paragraph</p>
When setting FontOptions (FontSize, FontAttributes) and TextColor to the control, they are not applied. For example setting a BackgroundColor works as expected.
<telerikRichTextEditor:RadRichTextEditor BackgroundColor="Black"
x:Name="richTextEditor"
TextColor="White"
FontAttributes="Bold"
FontSize="30" />
Currently, It's quite difficult to detect whether the text has been changed after the control is loaded completely.
And TextFormattingChanged event can not be raised when the text content is changed while text format isn't.
The cursor where editing is performed is hidden from the RichTextEditor toolbar and the keyboard when the toolbar is defined under the RichTextEditor.
The issue can be reproduced in Telerik UI for Xamarin Sample App RTE demons
Workaround:
Define the RichTextEditor toolbar above the editor
<telerikRichTextEditor:RadRichTextEditor Grid.Row="1" Unfocused="RadRichTextEditor_Unfocused"/>
private void RadRichTextEditor_Unfocused(object sender, FocusEventArgs e)
Since the RichTexrSelection is now setable for the RichTextEditor control, if feels like necessary to provide the support for add/change specified content at specified position.
We can change the content programmatically in 2 conditions:
1. Insert plain text / html code at the cursor point, while there is nothing selected.
2.Replace the currently selected content with new plain text / html code while selection exists.
Just for reference, an Api as below would be ideal:
RichTextSelection.SetHtml(html code);
RichTextEditor.Selection.SetHtml(html code);
For example, if I want to insert some plain text at the beginning of the document just after the rich text file loaded, I can easly achieve by this:
richTextEditor.Selection = new RichTextSelection(0,0);
richTextEditor.Selection.Insert("stringOrHtmlCode");
I suppose there is an easy way to implement the feature by invoking some predefined javascript codea and wraping them as exposed methods or functions.
Hope the suggeation could be accepted.
Kind regards.
Currently, when in edit mode only the correct hyperlinks ("a href" links) can be detected. Provide an option for Automatic link detection for URLs, Phone numbers, Calender support in read-only mode
Currently, the Canary Island is detected as it is an "a href" link, and the editor is in read-only mode. google.com is not detected as a link:
On iOS after tap on any command on toolbar with opened keyboard, the keyboard is hidden in a Shell project
If RichTextEditor has a source like this:
var htmlSource = @"<table style='background-color:red;border: 3px solid black'>
<tr><td> test table</td></tr>
</table>";
the table is rendered, but doesn't have the styling applied.
Hello Telerik.
Currently using your RichTextControl and it is working well.
One feature I would love is if the source and output could also be markdown.
Currently you only support the source as HTML as well as the output is HTML.
I am storing the data in markdown for various reasons and the constant conversion to and from markdown/HTML would be nice to avoid.
Regards
Chris ....