Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)

NullReferenceException is thrown when the "var" CSS function is used in the HTML on HtmlFormatProvider Import method call. 

The exception occurs only for CSS properties processed by RadRichTextBox. For example: "vertical-align", "font-family", "font-weight", "text-decoration-underline", etc.

The following HTML produces such error:

<span style="vertical-align: var(--my-variable);">

</span>

If the span tag doesn't have any content, the error doesn't occur.

The exception stacktrace is:

at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.FillSpanProperties(SpanProperties spanProps, EvaluateProperty evalFunction, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.CreateSpanFromTextNode(INode childNode, Paragraph paragraph, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessContentNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessHyperlinkNode(INode node, Action innerAction)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessAnnotationsForNode(INode node, Action innerAction)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.Import(Stream input)

To work this around, avoid  using the "var" function in the CSS.

Completed
Last Updated: 11 Mar 2024 07:36 by ADMIN
Release 2024.1.312
Unsupported merge fields (NotSupportedField) are automatically updated when hosted in a header or footer. In MS Word, the fields are not updated/evaluated until you manually call their Update Field action (in the right click menu shown over the field).
Unplanned
Last Updated: 29 Feb 2024 13:37 by Øyvind

Numbered lists have invalid values when combining documents by using the InsertFragment method.

 

Workaround: use RadDocumentMerger:

RadDocument radDocument1 = RtfSourceProvider.Import(rtf1);
RadDocument radDocument2 = RtfSourceProvider.Import(rtf2);

AppendDocumentOptions options = new AppendDocumentOptions();
options.FirstSourceSectionPropertiesResolutionMode = SectionPropertiesResolutionMode.NoSectionBreak;

RadDocumentMerger merger = new RadDocumentMerger(radDocument1);
merger.AppendDocument(radDocument2, options);

RichText.Document = merger.Document;

Unplanned
Last Updated: 27 Feb 2024 07:13 by Jose Ramon
The caret is in wrong place when editing HTML with line breaks and using the Web Layout.
Completed
Last Updated: 11 Mar 2024 07:36 by ADMIN
Release 2024.1.312

As shown in the attached video.

Btw, I was using the MS Pinyin IME.

Completed
Last Updated: 08 Apr 2024 14:24 by ADMIN
Release 2024.1.408
Created by: Caesar
Comments: 2
Category: RichTextBox
Type: Bug Report
0
As shown in the attached video.
Unplanned
Last Updated: 28 Feb 2024 07:11 by ADMIN
As shown in the attached video.
Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)
Unplanned
Last Updated: 22 Feb 2024 13:08 by ADMIN
Created by: Caesar
Comments: 1
Category: RichTextBox
Type: Bug Report
0
As shown in the attached video.
Unplanned
Last Updated: 21 Feb 2024 12:11 by Caesar
Pasting text inside a ContentControl is disabled if it is locked.
Unplanned
Last Updated: 22 Feb 2024 08:51 by ADMIN
When you have a single PlainTextControl in the document you can insert another content controls in it. 
Unplanned
Last Updated: 21 Feb 2024 09:19 by Caesar
Pasting text with multiple paragraphs into a plain text content control is still possible when IsMultiline is set to false. 
Unplanned
Last Updated: 16 Feb 2024 10:15 by Jason
Created by: Jason
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Export Emojis and special characters to PDF.
Completed
Last Updated: 11 Mar 2024 07:38 by ADMIN
Release 2024.1.228 (Preview)
Null reference exception when adding shapes and using the AddShapeTextBoxCommand.
Completed
Last Updated: 11 Feb 2025 07:40 by ADMIN
Release 2025.1.211 (2025 Q1)
Cut and Copy operations are disabled in a shape with text.
Completed
Last Updated: 11 Feb 2025 07:40 by ADMIN
Release 2025.1.211 (2025 Q1)
Created by: Jason
Comments: 0
Category: RichTextBox
Type: Bug Report
2
Shape text is not exported to PDF.
Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)
Shapes are not pasted at the mouse position. 
Completed
Last Updated: 13 Mar 2024 09:44 by ADMIN
Release 2024.1.219 (Preview)
Provide API that allows setting the width of the caret.
Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)

HtmlFormatProvider: Exception when importing a table that has only width set.  In this case, we are trying to measure some elements with float.NaN. 

Workaround: Use the HtmlFormatProvider from the Document Processing library. 

 
Unplanned
Last Updated: 06 Feb 2024 15:16 by Stenly
Add support for Alt property when importing/exporting an image using the DocxFormatProvider.