Unplanned
Last Updated: 30 Mar 2016 11:18 by ADMIN
To reproduce:
- Export rtf file with a bullet list - use the old RadRichTextBox.
- Import the file in the RadRichTextEditor in WebLayout mode.
- The entire list is shifted to the left and the bullets are not visible.

The issue is present because the old RadRichTextBox was exporting bullets with negative indent and the WebLayout mode always starts from 0.
Unplanned
Last Updated: 30 Mar 2016 11:16 by ADMIN
To reproduce:
- Create new application with a richtextbox in it.
- Build it and merge the assemblies.
- Start the application type some text then select a part of it and try to do something else.
- Note that this occur only the first time when the application is started.
Unplanned
Last Updated: 30 Mar 2016 11:16 by Kishore
1) Launch the RadRichTextEditor
2) enter some text (at least three lines)
3) select the whole content and apply bullets/ numbers 
5) Since the whole content is already selected, open the font color dialog box and try to apply a color (say red color)
6) Notice for the last item in the list , the selected color is not applied to the bullets/ numbers as shown in the attached figs
Unplanned
Last Updated: 30 Mar 2016 11:13 by ADMIN
To reproduce:
- Import an html text snippet several times (the text should exceed one page)
- Select the entire text and bold it.
- Now make the text Italic
- You will notice that the text is not bold anymore.
 
Unplanned
Last Updated: 30 Mar 2016 11:10 by ADMIN
To reproduce:

Open TelerikEditor and underline the whole text. Go to the end of a line and hold space. You will notice that the empty spaces are being underlined. The behavior is not the same as in Word.

Workaround:

Remove the underlining of the empty spaces at the end of the lines:

void Button_Click(object sender, EventArgs e)
{
    var caret = this.richTextBox.Document.CaretPosition;
    var originalPosition = new DocumentPosition(caret);
    caret.MoveToFirstPositionInDocument();
    do
    {
        caret.MoveToCurrentLineEnd();
        var endPos = new DocumentPosition(caret);

        caret.MoveToCurrentWordStart();
        caret.MoveToCurrentWordEnd();

        var startPos = new DocumentPosition(caret);

        this.richTextBox.Document.Selection.AddSelectionStart(startPos);
        this.richTextBox.Document.Selection.AddSelectionEnd(endPos);
        this.richTextBox.ChangeUnderlineDecoration(UnderlineType.None);
        this.richTextBox.Document.Selection.Clear();

        caret.MoveToCurrentLineEnd();

    }
    while (caret.MoveToNext());

    caret.MoveToPosition(originalPosition);
}

Beware that this workaround will not work in all cases. It should be used only prior to exporting or similar cases
Unplanned
Last Updated: 30 Mar 2016 11:10 by ADMIN
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.
Unplanned
Last Updated: 30 Mar 2016 11:07 by ADMIN
RadRichTextBox large txt documents (20000 rows)are loaded very slowly.
Unplanned
Last Updated: 30 Mar 2016 11:00 by Svetlin
The HtmlFormatProvider does not import correctly html content of div tags and css styles.
Unplanned
Last Updated: 30 Mar 2016 10:58 by ADMIN
Import the following code:
<ol>
  <li>Coffee</li>
  <li></li>
  <li>Milk</li>
</ol
Unplanned
Last Updated: 30 Mar 2016 10:56 by Svetlin
Workaround:

public class MyInputBehavior : InputBehavior
{
    public MyInputBehavior(DocumentView view)
        : base(view)
    {
  
    }
  
    public override bool ProcessKeyPress(System.Windows.Forms.KeyPressEventArgs e)
    {
        // TO DO: You code here
        e.KeyChar = char.ToUpper(e.KeyChar);
        return true;
        // By commenting the base call you are supresing the default logic
        //return base.ProcessKeyPress(e);
    }
}

Then you should replace the default input behavior by using the following code snippet:
this.richTextBox.DocumentView.InputBehavior = new MyInputBehavior(this.richTextBox.DocumentView);
1 2 3 4 5 6