Insert a Plain Text Content Control to current document.
Enter a character in the Content Control.
Undo and then Redo.
The Content Control remains in placeholder mode, which is not supposed to.
When a new line is placed right after a nbsp, the new line is ignored in the layout. This can be reproduced by importing the following HTML:
First <br/>Second
Images with resolution higher than the image size currently visible in the document, are printed with low quality, as if the smaller image is scaled up. The same is observed when an image is placed in header/footer and the document is zoomed in. Then the image should be rendered with better quality if available, but currently it isn't.
In specific cases, the box-drawing characters are not properly aligned and connected.
Observed:
1 Open RadRichTextBox and press Windows + . to to show the emoji box.
2 Choose the emoji and press backspace to remove it.
Actual behavior: When you press the backspace to remove the emoji, a square is left
Expected behavior: When you press the backspace the emoji should be deleted.
The AddParagraphToSelection method adds the first row of a table when it is the element after the paragraph.
To workaround this manually select the paragraph:
var para = caret.GetCurrentParagraph(); DocumentPosition pos = new DocumentPosition(doc); pos.MoveToDocumentElementStart(para); selection.AddSelectionStart(pos); pos.MoveToDocumentElementEnd(para); selection.AddSelectionEnd(pos); this.radRichTextBox.Delete(false);
DeleteAnnotationRange fails to execute when the content is uneditable annotation. For example: PermissionRange with a checkbox content control inside.
A possible workaround would be to manually delete the annotation range from the document element tree:
var rangeEnd = rangeStart.End;
var endParent = rangeEnd.Parent;
if (endParent != null)
{
endParent.Children.Remove(rangeEnd);
}
var parent = rangeStart.Parent;
if (parent != null)
{
parent.Children.Remove(rangeStart);
}
this.radRichTextBox.UpdateEditorLayout();