The issue only reproduces on Windows 10( 1806). Check the attached video showing the result: Workaround: Handle the CommandExecuting event this way private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e) { if (e.Command is ChangeFontFamilyCommand && e.CommandParameter.ToString() == "") { e.Cancel = true; } }
To reproduce: - Click the AA Styles button to open the Styles dialog. - Scroll down and select the CodeBlock item - The style does not change
This field retrieves a character through a code value specified in the field-argument. Such documents are common and are created when symbols (e.g. with font Windings through Insert -> Symbol dialog) are inserted in RTF documents in MS Word.
To reproduce: var d = new RadDocument(); var s = d.GetStatisticsInfo(); Workaround: var d = new RadDocument(); if (d.Sections.Count > 0 && d.Sections.Last.Blocks.Count >0) { var s = d.GetStatisticsInfo(); }
When the document is protected, CommandExecuting is not raised when the user double clicks the header or footer area.
I added this line just before Application.Run(new MainForm()); in Word-inspired project:
RichTextBoxLocalizationProvider.CurrentProvider = RichTextBoxLocalizationProvider.FromFile(@
"AllCapsRichTextBoxStrings.xml"
);
I took RichTextBoxStrings.xml from localization page of RichTextEditor. In the xml file I converted all the text between <value> tags to uppercase, and also replaced "OK" (value of "Confirm" data element) with "AYE". I expected all the OK's in all the forms within rich text editor to be replaced, but they all remained as "Ok" (note the lower case "k" here). Well, all except Page Layout > Columns form, which did display AYE, and also References > Insert citation. So, here are the issues that I found:
To create AllCapsRichTextBoxStrings.xml, make a copy of provided resource file, open it in Notepad++ and replace all <value>([^<]*)</value> with <value>\U\1\E</value> using regular expressions, and then replace all &, < and > with &, < and >.
Currently invalid attribute values, including invalid or empty values in CSS attributes in the 'style' attribute, could cause importing property with incorrect value, or NullReferenceException (the document cannot be imported). Examples: ---------------------------------------------------------- <table width=”*”> <tr> <td>More Random Text</td> </tr> </table> The table is imported with 0 width. Instead the width should not be set. ---------------------------------------------------------- <table style="font-size:;"> <tr> <td>More Random Text</td> </tr> </table> NullReferenceException is thrown. ---------------------------------------------------------- <p style='padding: 3px 3px 3xp 7px;'>test</p>
IndexOutOfRangeException is thrown.
----------------------------------------------------------Workaround: replace the invalid values before import: string importString = html.Replace("font-style: ;", "");
The field result shows the number of pages the current section contains.
See attached!
The spacing between the letters is too big.
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
Se the attached video to reproduce.
<samp> HTML element could be imported as span with specific formatting. Currently it's just ommited.