Unplanned
Last Updated: 30 Mar 2016 11:10 by ADMIN
ADMIN
Dimitar
Created on: 23 Sep 2014 06:56
Category: RichTextEditor
Type: Bug Report
2
FIX. RadRichTextEditor - when the importer text contains many new lines (<br/>) without any spaces between them the font is not set correctly.
To reproduce:
string text = "<p style=\"font-family:Calibri; font-size:15pt;\">Hi,<br/><br/><br/><br/>Regards<br/></p>";

HtmlFormatProvider provider = new HtmlFormatProvider();
RadDocument document = new RadDocument();
document = provider.Import(text);

radRichTextBox1.Document = document;

Click on an empty line and you will see that the font is different.
0 comments