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();
}
}
Can't see undo and redo button on the editor.
Steps: 1) Launch the RichTextEditor 2) Clear the existing contents or open a new file (using File-> New) 3) Insert a table of any dimensions for ex: 2x2 4) Delete the above added table 5) Now try to insert a new table of any dimensions (For ex: 2x2) 6) You will get the following exception when you run the project using vs2010 Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 7) In the demo application , you will see a Form1 error pop up opens up and makes the RichTextEditor completely blank
Steps: 1) Launch The RichTextEditor 2) Clear all the existing content 3) Type some text for ex: zzzz 4) Select the whole text and try to hit the backspace 5) The typed text is not cleared and even you keep hitting the backspace the text is not cleared sometimes, it just stays
To reproduce, add a theme in design time and open the ThemeName drop down from the editor's SmartTag
Hi Team,
We found an issue in Spell Check Feature in RichTextEditor, the Spell Checking Dialog auto-correct the spelling issues on scroll without clicking on the "Change" button.
We are able to reproduce this in the Demo application. please have a look at the below screencast.
https://www.screencast.com/t/EieqvrvSiSq
Thank you.
RadRichTextEditor: The paste options popup stays visible when the control is hidden
Workaround:
((MiniToolBarBase)this.radRichTextEditor1.RichTextBoxElement.PasteOptionsPopup).Hide();
The ChangeFontStyle method does not work when setting Underline:
radRichTextEditor1.ChangeFontStyle( FontStyle.Underline);
Workaround:
radRichTextEditor1.ToggleUnderline();
Invisible borders in html format are imported as black borders in RadRichTextBox Resolution: This issue is addressed in the new version of the control - RadRichTextEditor. Please use the new control instead the RadRichTextBox.
To reproduce:
this.radRichTextEditor1.Text = null;
To reproduce: 1. Open the following article: https://aajtak.intoday.in/gallery/indonesian-tsunami-warning-earthquake-lombok-island-dead-body-1-24549.html 2. Copy its title 3. Paste in Notepad/Notepad++ 4. Copy from notepad 5. Paste in RTE
To reproduce: run the Demo application >> RichTextEditor >> First Look example and follow the steps illustrated in the attached gif file. 1. First add a footnote in the text 2. Than select a part of the footnote text or all text and use the context menu to cut the text 3. Then, paste the text in the document, it doesn't matter were. 4. Next step is to remove the footnote reference. 5.Then, scroll through the document and press the right mouse button to open the context menu. The object release should have been called and the context menu is disposed. If so the error occurs. Workaround: this.radRichTextEditor1.MouseClick += radRichTextEditor1_MouseClick; private void radRichTextEditor1_MouseClick(object sender, MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Right) { if (this.radRichTextEditor1.RichTextBoxElement.ContextMenu != null) { FieldInfo fi = typeof(Telerik.WinControls.RichTextEditor.UI.ContextMenu).GetField("radDropDownMenu", BindingFlags.Instance | BindingFlags.NonPublic); RadDropDownMenu dropdown = fi.GetValue(this.radRichTextEditor1.RichTextBoxElement.ContextMenu) as RadDropDownMenu; if (dropdown.IsDisposed) { this.radRichTextEditor1.RichTextBoxElement.ContextMenu = new Telerik.WinControls.RichTextEditor.UI.ContextMenu(); } } } }
Workaround: If possible set the layout mode to FlowNoWrap this.radRichTextEditor1.Document.LayoutMode = Telerik.WinForms.Documents.Model.DocumentLayoutMode.FlowNoWrap;