Import the type of the <ul> and <ol> tag, e.g. <ul type="disc"> or <ul type=circle>. Supported values are disc, circle, square.
The width of the image is inherited from the table element it is in when it doesn't have a specific width set to it. Sample HTML reproducing the problem is: <html> <body> <table style="width: 700px;"> <tbody> <tr> <td> <img src="" /> </td> </tr> </tbody> </table> </body> </html> Instead, the real size of the image should be used. Workaround: Subscribe to LoadImageFromUri and set size to the image. settings.LoadImageFromUrl += (s, arg) => { if (arg.Url != null) { string extension = Path.GetExtension(arg.Url); Uri uri = new Uri(arg.Url, UriKind.RelativeOrAbsolute); System.Net.WebClient oWebClient = new System.Net.WebClient(); using (MemoryStream stream = new MemoryStream()) { oWebClient.OpenRead(uri).CopyTo(stream); arg.ImageElement.Init(stream, extension); arg.ImageElement.Size = new Size(164, 80); e.Handled = true; } } };
Add support for importing of imaged defined with VML's v:imagedata inside v:image or v:shape. Currently such images are just skipped.
When there are several instances of RadRichTextBox in the same page/view, it would be nice if only one instance display any selection. In the same scenario, the color of the selection of TextBox, for example, changes. Clearing the selection on LostFocus would have been a solution, however control loses focus to the color pickers, comboboxes, etc. from the SelectionMiniToolBar and RadRichTextBoxRibbonUI.
In Word, default tab stops are not present in Paragraph's hanging indent. This leads to difference in the length of the Tab symbol in Word and RadRichTextBox, in cases when hanging is bigger than the default tab stop width.
When TextOptions.TextFormattingMode="Display" is set on RadRichTextBox, incorrect Measuring causes TextBlocks to not visualize correctly.
Japanese users use distributed text alignment, which justifies all lines including the last one.
All is marked when None should be selected.
The "em" unit will be particularly useful for setting the width of columns/the height of rows in tables.
The display mode of all fields is changed to Code, so that the export could work correctly and nested fields would be persisted. Consider optimizing the algorithm, so that fields take less time to be exported.
When paragraph is in list, the user can choose "Set Numbering Value" which will change the appropriate level Starting Index and will create a new list (or continue the previous one).
Popups (ImageMiniToolBar and SelectionMiniToolBar) stay on most top (act as if "Always on Top" is set to them) even if they had lost focus.
Workaround: Attach to LostFocus or LostKeyboardFocus events and hide the toolbar in the handler:
this.radRichTextBox.LostFocus += (sender, e) =>
{
this.radRichTextBox.SelectionMiniToolBar.Hide();
this.radRichTextBox.ImageMiniToolBar.Hide();
};
When the tabbed document becomes a dockable window the ContextMenu Icons are no longer visible. <telerik:RadDocking x:Name="radDocking"> <telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadDocumentPane Title="Test"> <telerik:RadRichTextBox x:Name="radRichTextBox" /> </telerik:RadDocumentPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking.DocumentHost> </telerik:RadDocking>
Add adorners for selecting table rows, table columns and table cells with single click, similar to the ones in MS Word
Closure reason: issue fixed Hi, The issue is fixed and is live with today's LIB release (v.2015.1.0406) Best Regards, Aylin Hyumet, The Telerik Team
Quickly adding/removing of tab stop from the document's ruler crashes the application.
This includes: - Create multilevel list template for Heading styles - Add button in the ribbon list styles gallery for applying this list template - TOC generated from heading styles associated with list should also include the numbering of the headings (see the related bug 91763). This is not absolutely required for the current item. -------------------- Currently such list can be added using the following code: private void button1_Click(object sender, RoutedEventArgs e) { ListStyle listStyle = CreateHierarchicalListStyle(); for (int i = 0; i < 9; i++) { ListLevelStyle listLevel = listStyle.Levels[i]; listLevel.HangingIndent = 0; listLevel.Indent = 0; listLevel.StyleName = RadDocumentDefaultStyles.GetHeadingStyleNameByIndex(i + 1); } DocumentList documentList = new DocumentList(listStyle, this.radRichTextBox.Document); for (int i = 0; i < 9; i++) { string headingStyleName = RadDocumentDefaultStyles.GetHeadingStyleNameByIndex(i + 1); StyleDefinition headingStyle = this.radRichTextBox.Document.StyleRepository.GetValueOrNull(headingStyleName); headingStyle.ParagraphStyle.ListId = documentList.ID; headingStyle.ParagraphStyle.ListLevel = i; } } private static ListStyle CreateHierarchicalListStyle() { ListStyle listStyle = new ListStyle(); for (int i = 0; i < ListStyle.ListLevels; ++i) { StringBuilder levelText = new StringBuilder(); for (int j = 0; j < i + 1; ++j) { levelText.Append("{" + j + "}."); } listStyle.Levels.Add(new ListLevelStyle() { StartingIndex = 1, NumberingFormat = ListNumberingFormat.Decimal, LevelText = levelText.ToString(), }); } return listStyle; }
There is already Author property but it is not filled automatically. It should be filled using the RequestCurrentUserInfo event of the RadDocument, which is currently only used for track changes revisions.
When a table is preceded by several paragraphs last of which is empty, selecting more than one of those paragraphs and the table excludes the empty paragraph from the selection. Steps to reproduce: - Add paragraph with text, followed by empty paragraph, followed by table 2x2. - Select from the beginning of the document to the last table cell (Note that the paragraph after the table is not included in the selection) - Copy the content and paste it in the document below. - The empty paragraph is not present in the pasted content, as it is excluded from the selection.
When mouse is over selected text, the cursor should be changed to Arrow.