Approved
Last Updated: 07 Oct 2019 14:55 by ADMIN
When an HTML document contains a div and a span just after it, the span is imported as a child of the div. As a result, the span inherits some of the settings applied to the div.
Approved
Last Updated: 30 Sep 2019 16:48 by ADMIN

When the copied document fragment is replaced during paste within a single RadDocument:

ClipboardEx.SetDocument(new DocumentFragment(doc));

Ordered list are not pasted correctly.

Workaround:

Bypass paste and use the InsertFragment API

this.radRichTextBox.InsertFragment(new DocumentFragment(doc));
e.Cancel = true;

Approved
Last Updated: 30 Sep 2019 08:31 by ADMIN

As suggested in the orginal support ticket 1430154 I'm opening a separate bug reprot for the RadRichTextBox.

Visual Studio 2019 solution to reproduce the problem is attached to the bug report.

Approved
Last Updated: 27 Sep 2019 09:53 by ADMIN

Showing a document which contains Table object without any TableRow inside leads to NullReferenceException.

Workaround: After importing the document, remove the tables that don't have content:

foreach (var table in document.EnumerateChildrenOfType<Table>().ToList())
{
    (table.Parent as Section).Blocks.Remove(table);
}

Approved
Last Updated: 18 Sep 2019 12:54 by ADMIN
Having a watermark test "This is a\nWatermark" is exported with an empty box instead of a new line to PDF.
Approved
Last Updated: 06 Sep 2019 08:14 by ADMIN
Styles which contain "Headind1", "Headind2", "Headind3", "Headind4", "Headind5", "Heading6" in their names are exported as <h> elements to HTML. 

Moreover, is specific cases when the style of the name ends with specific symbols which are not allowed for element names in XML/HTML, e.g. "Heading1?", an ArgumentException is thrown.
Approved
Last Updated: 03 Sep 2019 15:12 by ADMIN
Placing the caret in a table cell containing a floating image only results in invisible caret. The formatting symbol of the TableCell is affected by the floating block as well - if there is no other content, the symbol appears under the image. When some text is inserted, the symbol is lost and clicking next to the paragraph end moves the caret in the next/previous table cell.
Approved
Last Updated: 03 Sep 2019 09:32 by ADMIN
Pasting style from Word with accent letters in the name is not properly displayed in the Styles Gallery. For example, pasting word style named "Estàèélo1" will be displayed as "Estаийlo1". 
Approved
Last Updated: 02 Sep 2019 12:25 by ADMIN
Keyboard commands are not working for controls inside the InlineUIContainer. The reason for this is that RichTextBox is handling them.
The commands are: Left, Right, Backspace, Delete, Tab, Ctrl+C, Ctrl+V among others.

Workaround:
Attach custom event handler to the PreviewEditorKeyDown event of the RichTextBox. This event should set "e.SuppressDefaultAction = true" when the focus is in the InineUIContainer.
Approved
Last Updated: 28 Aug 2019 11:05 by ADMIN
Exporting RTF document breaks right to left text direction.
Approved
Last Updated: 17 Jun 2019 07:47 by ADMIN
When there is a text in a table row with dash and not space after makes the text squeezed when exported to PDF. For instance "Self-Insured". If the text is "Self - Insured" it is exported fine.
Approved
Last Updated: 12 Jun 2019 13:13 by ADMIN
The exception is thrown in RadDocument.IsInNonEditableRange() method, which is called before measuring the document. When using a format provider, the error is thrown but the document can still be opened in RichTextBox. In binding scenario, the document is not imported.

Workaround: Ensure the document is measured before assigning it to RadRichTextBox.
Approved
Last Updated: 02 May 2019 10:47 by ADMIN
Typing in Find dialog is not possible when having an ElementHost in a WinForms Windows to host a WPF User Control which contains the RadRichTextBox.
Approved
Last Updated: 30 Apr 2019 12:42 by ADMIN

If I setup the richtextbox content through the UI as shown in P1.png and try to restore it by pasting the generated html, I get instead P2.png. Expected to be the same. 

I attached the sample project. We're using the recommended settings to use the same html in telerik reports, but can't find the reference on your site, it used on the on this link http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/import-export/features-import-export-settings#htmlformatprovider

 

Approved
Last Updated: 26 Apr 2019 15:14 by ADMIN
The HtmlExportSettings property PropertiesToIgnore can't be used to control how the paragraph or character properties of a list will be exported.
Steps to reproduce:
Create a document with a list of different levels.
Set fp.ExportSettings.PropertiesToIgnore["li"].Add("margin-left");
Export to HTML.
Observed: The PropertiesToIgnore doesn't work for paragraph properties of a list.
Approved
Last Updated: 18 Apr 2019 09:32 by ADMIN

Finding text with regex for the last paragraph is not possible. This is caused by the fact that the search treats the last paragraph symbol as the last paragraph.

Approved
Last Updated: 12 Apr 2019 15:10 by ADMIN
Character properties applied on the last paragraph symbol for a paragraph in a list, e.g. font size, are not exported to HTML when StyleExportMode is Inline. 

As a side effect, when the document is imported back, and the text of the bullet is deleted, its properties switch back to the default ones.

Workaround: Change the styles to export as inline properties:
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Classes;
 
Please be aware that this may cause side effects, as described in this issue: RichTextBox: Character properties of the paragraph symbol are exported to HTML for the whole list item when StyleExportMode is Classes
Approved
Last Updated: 10 Apr 2019 06:52 by ADMIN
Created by: Decisive Computing
Comments: 0
Category: RichTextBox
Type: Bug Report
0

Nested ol/ul list should be inside a <li> element of the list in which it is nested. For example:

<ul>
<li>Option A</li>
<li>Option B
  <ul>
    <li>Sub 1</li>
    <li>Sub 2</li>
  </ul>
</li>
</ul>

 

Approved
Last Updated: 05 Apr 2019 15:41 by ADMIN
The character properties applied on the last paragraph symbol for a paragraph in a list (e.g. font family), are exported to HTML for the whole paragraph which is in the list. 

As a notable side effect, when such HTML is imported, the default font size for a paragraph in a default bullet list changes to Symbol.

Regression: The bug is introduced in 2016_2_613.


Workaround: Change the styles to export as inline properties:
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;

but be aware that this may cause issues as described in the related RichTextBox: Character properties of the paragraph symbol are not exported to HTML when StyleExportMode is Inline
Approved
Last Updated: 19 Mar 2019 16:33 by ADMIN
Font weight, size and other current editing style properties are not preserved when document layout is performed, for example in the following cases:
- the document is in web layout mode and the controls is resized
- scroll bar changes its visibility.

Steps to reproduce:
- Set RadRichTextBox to Web layout mode.
- Type a word, select it and make it bold.
- Press enter and type a word
- Repeat the previous step until RadRichTextBox height is reached and scrollbar appear.
- Type a word.
Expected: The last word is bold.
Actual: The last word is not bold.
1 2 3 4 5 6