Approved
Last Updated: 20 Nov 2017 12:13 by ADMIN
ADMIN
Hristo
Created on: 09 Nov 2017 14:20
Category: RichTextEditor
Type: Bug Report
0
FIX. RadRichTextEditor - next style property should not be respected for elements other than Paragraph
Workaround: Set the next style property for all types except the Paragraph to an empty string
foreach (var style in this.radRichTextBox.Document.StyleRepository)
{
    if (style.Type!=Telerik.Windows.Documents.Model.Styles.StyleType.Paragraph && !string.IsNullOrEmpty(style.NextStyleName))
    {
        style.NextStyleName = string.Empty;
    }
}
0 comments