Unplanned
Last Updated: 30 Mar 2016 11:20 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
To reproduce:

Import the attached sample.html in RadRichTextEditor. Afterwards, export the content by using HtmlFormatProvider. You will notice that the page breaks are not exported and if you import the exported file, you will see the difference. Please refer to the attached screenshot.
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: 26 Apr 2016 15:13 by ADMIN
To reproduce:
- Insert the following HTML vide the HtmlFormatProvider: "<!DOCTYPE html><html><head><title>test</title> <body><span >Hello,</span><p ><span >Kind regards,</span></p> <br /> <span >Test</span><p><a href=\"#\"><span>Hyperlink</span></a><span ><br /></span><span >test: 0</span><span ><br /></span><span>Test</span><span  </span></p></body></html>"

- Start the application place the caret in front of the link and press the tab key, you will notice that the text below the link is also moved.

This behavior is also observed when the text box contains plain text or a imported rtf, just move the caret at the top left corner, in front of all text and press Tab. 
Unplanned
Last Updated: 26 Apr 2016 14:39 by Svetlin
The Docm (docx) and RTF files are not imported correctly. 

- Paragraph's alignment is not imported when RTF file is opened by RadRichTextBox
- Importing of Docm (docx) file does not imports images and does not apply correct borders of table
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);
Unplanned
Last Updated: 31 Mar 2016 09:43 by Jesse Dyck
3 4 5 6 7 8