when using the justify toolbar item it does not justify the text.
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" />
1) We inserted one image in Rich Text Editor. Here the original size was 100%.
2) We resized the image, i.e. reduced the size to 50%, 30%, 10%, etc.
3) After reducing size we fetched the HTML through GetHTML() method.
4) We converted the HTML string into an RTF string.
5) Again converted RTF to HTML string.
6) Image size is not updated to 50/30/10%, it has different width and height.
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 ....
On iOS after tap on any command on toolbar with opened keyboard, the keyboard is hidden in a Shell project
on Android devices with API 31 the app crashes when using context menu.
Actually this is the native android context menu which crashes the app, the RichTextEditor context menu is not displayed.
The RichTextEditor context menu gets displayed when closing the keyboard and then tap on the text.
there is a mistake with the accessibility modifier for `Telerik.XamarinForms.RichTextEditor.RichTextPasteType`. When it is Internal it's not possible to use the PasteCommand since it requires that type as input.
Solution:
use reflection to get the enum
var assembly = typeof(RadRichTextEditor).Assembly;
var type = assembly.GetType("Telerik.XamarinForms.RichTextEditor.RichTextPasteType");
var obj = Enum.ToObject(type, 1);
await Clipboard.SetTextAsync("A pasted text");
var canExecute = richTextEditor.PasteCommand.CanExecute(obj);
richTextEditor.PasteCommand.Execute(obj);
<telerikRichTextEditor:RadRichTextEditor Grid.Row="1" Unfocused="RadRichTextEditor_Unfocused"/>
private void RadRichTextEditor_Unfocused(object sender, FocusEventArgs e)
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.