RadRichTextEditor: The paste options popup stays visible when the control is hidden
Workaround:
((MiniToolBarBase)this.radRichTextEditor1.RichTextBoxElement.PasteOptionsPopup).Hide();
Pasting adds an additional paragraph that does not exist in the source(copy).
If the main document part of a DOCX document is with name different than "document.xml", for example "document2.xml", the content of the document is not imported. Such documents are created by OpenXML SDK, if for example this tutorial is followed: How to: Convert a word processing document from the DOCM to the DOCX file format - http://tpdogfood.telerik.com/msdn.microsoft.com/en-us/library/office/gg188063(v=office.15).aspx.
The paragraphs in the table are inheriting the negative indent from the previous paragraph.
Workaround: Manually remove the negative indent from the table paragraphs after the table is added.
The workaround in code:
private void RadRichTextEditor1_CommandExecuted(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
{
if (e.Command is InsertTableCommand)
{
var table = radRichTextEditor1.Document.CaretPosition.GetCurrentTable();
table.TableIndent = 0;
if (table != null)
{
foreach (var row in table.Rows)
{
foreach (var cell in row.Cells)
{
foreach (var block in cell.Blocks)
{
var paragrpah = block as Paragraph;
if (paragrpah != null && paragrpah.LeftIndent < 0)
{
paragrpah.LeftIndent = 0;
paragrpah.HangingIndent = 0;
}
}
}
}
}
radRichTextEditor1.RichTextBoxElement.Document.UpdateLayout();
}
}
The built-in Hyperlink style is not applied to hyperlinks imported from HTML (<a> tag). As a result, the hyperlinks in the document does not have the blue underline.
- Import the following HTML: <a href="http://google.com">test</a>To reproduce: please refer to the attached sample project. You will notice that the exported HTML content from the left RadRichTextEditor is imported to the right and the bullets are not the same.
When adding a new document to the same instance of a RichTextEditor, the UIProviderRegistry instance of the RichTextBox will keep a dictionary entry for a SectionLayoutBox that contains a reference to a non cleaned up WaterMarkUiProvider.
This SectionLayoutBox in turn has a reference to a DocumentLayoutBox (parent) which has a reference to an old document instance.
A new dictionary entry is added and (retained) for every document loaded.
Disposing the old document makes no difference.
Hi Sir,
We updated telerik and facing some issues with that.
in new update with rich text editor has new property called MentionBox settings of that auto added in to designer code.
which creates an error when we run the application.
following line is auto added.
mentionBox1.FocusedItemIndex = -1;
we have to comment every time after doing UI changes. and we need to check every time whether that line is commented or not.
Please Help Us.
Thanks,
Ashish.
Introduce support for the IF field. More info here: https://wordmvp.com/FAQs/MailMerge/MMergeIfFields
When I have an InlineImage in a horizontally centered paragraph, PrintPreview presents the image unevenly on the page. There should be the same space on left and right, as the page padding is the same all around. See the arrows indicated below: