Unplanned
Last Updated: 25 Aug 2022 08:44 by Caesar
Importing document with content controls inside a TableCell leaves only the content 
Unplanned
Last Updated: 24 Aug 2022 06:43 by ADMIN
ADMIN
Created by: Martin
Comments: 0
Category: RichTextBox
Type: Feature Request
0
The line numbers are currently skipped on export to PDF.
Unplanned
Last Updated: 23 Aug 2022 11:34 by William
When the image is at the right-most side of the page and has text appended just before it, adding caption results in splitting the content prior to the image. The last symbol of the content appears after the caption. The issue is reproduced sporadically.
Unplanned
Last Updated: 17 Aug 2022 10:00 by Ryan
The Mentions popup is not shown when the cursor is in the last line and the line is at the down edge of the control. Gif is attached. 
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R3 2022 SP1
RichTextBox: Add Word like selection where the entire word is selected when moving forward. When moving backward only the characters are deselected. 
Unplanned
Last Updated: 10 Aug 2022 07:24 by Caesar

Copying content controls using DocumentFragment and then inserting them causes several undesired behaviors.

For example, if the original content control is in "Placeholder mode" (meaning the initial pre-generated text is intact), after the copy operation, its content is treated as user inserted and it is not fully selected on entering the control. Another issue is with Plain Text/Date Picket/Repeating Section control - after the copy, their Properties dialog cannot be shown.

Unplanned
Last Updated: 05 Aug 2022 05:45 by ADMIN
Selecting the same date after Undo operation in Date content control does not select the date.
Unplanned
Last Updated: 04 Aug 2022 12:39 by Caesar

In my usage scenario,  I want to allow the users to do some specific actions like changing the font or inserting a table row in those restricted areas.

My current implementation is to modify the source code of RadRichTextBox, expose RespectDocumentProtection and RespectNonDeletableRanges, and temporarily set these properties to false before performing modifications in those restricted areas.

Currently, the properties are available in RadDocumentEditor only.

Unplanned
Last Updated: 10 Mar 2023 11:09 by ADMIN

Importing a document with block-level content controls from XAML causes them to become corrupt. If you scroll to a position in which the said control is only partially visible a NullReferenceException is thrown.

A possible workaround would be to initially save the document as a DOCX (just exporting it to DOCX will not fix the issue as the information is already corrupt).

Another way to reproduce this issue:

1. Create a new document and insert a Rich Text Content Control.

2. Save the document as a XAML file.

3. Reopen the XAML file.

4. Move the caret inside the Content Control.

5. Try to insert a new line by hitting Enter - no new line is added as the content control is marked as Inline Level after the import in step 3.

Case 2: 

Create a document with TOC where the content control of the TOC contains some other inlines.

 

Completed
Last Updated: 05 Aug 2022 10:11 by ADMIN
Release LIB 2022.2.808 (08 Aug 2022)

RichTextBox: The RepeatButtonStyle is not merged in the RichTextBox Xaml file when declaring the styles on a window level.

 

Workaround: Add the dictionaries to the App.xaml file instead of the Window file.

Completed
Last Updated: 04 Aug 2022 16:18 by ADMIN
Release LIB 2022.2.808 (08 Aug 2022)

User is not able to select the current date wen Date Picker content control is used.

Select another date and then the current one as a workaround.

Unplanned
Last Updated: 01 Aug 2022 05:51 by William
RichTextBox: When the control height is set to a single line the caret is in the wrong position after the app started.
Completed
Last Updated: 03 Aug 2022 13:48 by ADMIN
Release LIB 2022.2.808 (08 Aug 2022)

If there is an empty cell with a permission range and you go to it by pressing the Tab key from the previous cell and then start typing it removes the annotation range. If the cell with the permission range is not empty and the same technique is used there is an InvalidOperationException thrown with the message: "Selection contains uneditable ranges".

Here is a workaround:

this.radRichTextBox.CommandExecuted += this.RadRichTextBox_CommandExecuted;
private void RadRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is TabForwardCommand)
    {
        DocumentPosition caret = this.radRichTextBox.Document.CaretPosition;
        if (caret.IsPositionInsideTable)
        {
            DocumentSelection selection = this.radRichTextBox.Document.Selection;
            DocumentPosition start = selection.Ranges.First.StartPosition;
            DocumentPosition end = selection.Ranges.Last.EndPosition;
            Inline currentInline = start.GetCurrentInline();
            if (currentInline is PermissionRangeStart)
            {
                start.MoveToNext();
            }

            Inline previousInline = end.GetPreviousInline();
            if (previousInline is PermissionRangeEnd)
            {
                end.MoveToPrevious();
            }

            this.radRichTextBox.Document.Selection.SetSelectionStart(start);
            this.radRichTextBox.Document.Selection.AddSelectionEnd(end);
        }
    }
}

First, you need to subscribe to the CommandExecuted event. Then change the selection after a TabForwardCommand to exclude the PermissionRangeStart and PermissionRangeEnd elements. Your workaround also works, so there is no need to change it.

Completed
Last Updated: 18 Aug 2023 08:06 by ADMIN
Release LIB 2022.2.808 (08 Aug 2022)
When a non-breaking space appears after a letter and punctuation symbol, it is not respected and the line can break on it.
Completed
Last Updated: 03 Aug 2022 09:17 by ADMIN
Release LIB 2022.2.808 (08 Aug 2022)
The localization key used for the UndoGroup is for the permission ranges and puts a record with a wrong name inside the History stack.
Completed
Last Updated: 04 Jul 2022 07:22 by ADMIN
Release LIB 2022.2.704 (04 Jul 2022)
When the font of the document is set to a non-default font (for example Arial) and the caret is moved around the same line, it jumps up and down at the start and end of words.
Completed
Last Updated: 04 Jul 2022 07:21 by ADMIN
Release LIB 2022.2.704 (04 Jul 2022)

RichTextBox: Exception when loading a table with a specific layout in R2 2022

This works with R1 2022 SP1

Completed
Last Updated: 07 Jul 2022 10:55 by ADMIN
Release LIB 2022.2.711 (11 Jul 2022)
The paragraph is not correctly copied and carries empty inlines that cause the exception.

Workaround: Add some content to the inlines of the copied paragraph:
foreach (Span span in paragraphCopy.EnumerateChildrenOfType<Span>())
{
    if (string.IsNullOrEmpty(span.Text))
    {
        span.Text = " ";
    }
}

Completed
Last Updated: 07 Jul 2022 10:07 by ADMIN
Release LIB 2022.2.711 (11 Jul 2022)
When the definition of margin-[left/right] contains a CSS function as a value for the property, NullReferenceException is thrown while importing the content.
Completed
Last Updated: 06 Jul 2022 12:20 by ADMIN
Release LIB 2022.2.711 (11 Jul 2022)
When the definition of font-weight contains a CSS variable as a value for the property, NullReferenceException is thrown while importing the content.