To reproduce: - Add RichTextEditorRibbonBar and associate it with RadRichTextEditor at design time. - Show the form and then force the garbage collector. Workaround: - Associate the controls in the load event. - Set the AssociatedRichTextEditor to null just before the form is closed. protected override void OnLoad(EventArgs e) { base.OnLoad(e); richTextEditorRibbonBar1.AssociatedRichTextEditor = radRichTextEditor1; } protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { richTextEditorRibbonBar1.AssociatedRichTextEditor = null; base.OnClosing(e); }
Please refer to the attached gif file illustrating better how to replicate the undesired behavior.
1. If you right-click, the Copy and Cut context menu items are disabled - OK
2. If you select some text and right-click, the Copy and Cut context menu items are enabled - OK.
3. If you select some text and right-click very fast, sometimes Copy and Cut are disabled. Even there is cases in which Cut is enabled and Copy is disabled.
Workaround: please ensure that you select the text first and then right-click to trigger the context menu.
Hi,
Font size in ribbon does not change to the font size of custom style.
See attached video and c# project.
Best regards,
Ziping Wang
To reproduce: - Add RichTextEditorRuler and RichTextEditor to a form. - Add some tab stops in the ruler and press the tab key. Workaround: void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e) { if (e.Command is IncrementParagraphLeftIndentCommand) { e.Cancel = true; TabForwardCommand tabForward = new TabForwardCommand(this.radRichTextEditor1.RichTextBoxElement); tabForward.Execute(); } }
RadRichTextEditor renders the text with a little bigger characters spacing than RadRichTextBox and MS Word.
Note: this text spacing problem can be observed in other Telerik controls as well.
Please refer to the attached IncorrectImageResizing.gif illustrating how to reproduce the problem with the Demo application.
Workaround: feel free to resize the image via the mouse cursor.
1) Run the RichTextEditor 2) As you can see there are already some images inserted in the document 3) Right click on any image , and click Edit Image, Image editor dialog box does open up. (as shown in the attached pic EditImageActive1.jpg) 4) click outside the image and right click on the image again, and this time you can see the Edit image option is disabled and this happens consistently. (as shown in the attached pic EditImageInactive.jpg) One more thing to observe was upon right clicking the image sometimes the Edit image option does show up in the context menu and a different menu appears (as shown in the attached pic NoEditImageOption1)
When you load a HTML file where the image is not loaded properly and you try to export RadRichTextEditor's document to a pdf, an error occurs. Workaround: If the image doesn't exist you can skip loading in the document. Thus, exporting to pod at a later moment won't produce an error. You can use the HtmlImportSettings.LoadImageFromUrl event and handle the image loading: Sub New() ' This call is required by the designer. InitializeComponent() Dim provider As HtmlFormatProvider = New HtmlFormatProvider() Dim htmlImportSettings As HtmlImportSettings = New HtmlImportSettings() AddHandler htmlImportSettings.LoadImageFromUrl, AddressOf LoadImageFromUrl provider.ImportSettings = htmlImportSettings Using inputStream As FileStream = File.OpenRead("..\..\Email HTML.html") Me.RadRichTextEditor1.Document = provider.Import(inputStream) End Using End Sub Private Sub LoadImageFromUrl(sender As Object, e As LoadImageEventArgs) e.Handled = True End Sub
When the rtf document contains a table as the one below and the empty declaration is used in the following structure, the document cannot be imported: {\fonttbl {\f0 Verdana;} {\f1 Times New Roman;} {\f2 ;} {\f3 Segoe UI;}}
Invalid table layout when resizing a row on the second page
To reproduce:
- Add a table with several rows so there are some rows on the second page.
- Resize a row on the second page with the mouse.
Result: The table layout is not correct after the resize operation
Hi,
Please look at the screen. when we load the attached email in Editor, bullet points are repeating.
Regards,
Nitin Jain
When importing an HTML file which contains table should align table cell content left and middle. Instead, it aligns them left and top.
Both browsers and MS Word center the content.
Merge all assemblies exept Telerik.WinControls.UI.Design.dll. Use the merged assembly in an application with RichTextEditorRibbonBar. The icons are missing.