Completed
Last Updated: 17 Feb 2016 21:05 by Svetlin
Svetlin
Created on: 02 May 2013 08:09
Category: RichTextEditor
Type: Bug Report
3
FIX. RadRichTextEditor - RTF importing produces spans with black highlight color.
If you import a rtf document, it produces a span instances with highlight color property set to ARGB(255,0,0,0).

Workaround:

foreach (Span span in document.EnumerateChildrenOfType<Span>())
{
    if (span.HighlightColor == Color.FromArgb(255, 0, 0, 0))
    {
        span.HighlightColor = Color.Transparent;
    }
}
0 comments