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.
Hi,
Please look at the attached html. when we load the attached HTML in Editor the last line appear like this. however when i open the same html in browses it looks fine. I have set the "text align" to justify and this is one of my requirement.
Run the Word-inspired project. Select the one whole paragraph, right below the Overview header, but so that caret is at the beginning of the next paragraph. Change text alignment to Justify. Then try to change text alignment to Left. It will not turn back to Left. Probable reason is that caret is at beginning of the next paragraph whose alignment is Left, so app thinks it should change it to Justify instead. This over-eagerness is described in forum thread ChangeParagraphTextAlignment is over-eager to change alignment. But in this case there is no workaround.
The solution is to set the value instead of toggle it, like the Word does. If text alignment was Left then setting to Left should again set it to Left. Also, caret position should not change the outcome of the action. Only the contents of the selection is relevant in deciding if action can be safely skipped.