Have I found a bug with the RichTextEditor? It appears that if I apply a padding, it behaves like the margin. Take a look at the attached file. If I change the margin or padding, the result looks the same. If I set a margin of 5 and a padding of 5, it looks like a margin of 10.
Is this a bug with the control or have I misunderstood something?
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);
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 ....
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.
when using the justify toolbar item it does not justify the text.