A paragraph is exported to HTML with properties from its bullet when the default document properties are customized. Here are the steps to reproduce: Change the document default font-size to 10.5 pt(14px). Change the document default font-family to "Calibri". Add two paragraphs with text. Apply a list to the paragraphs Export to HTML Import the resulted HTML. Observed: The paragraphs text is with font-family "Verdana" and font-size of 12pt Expected: The paragraphs should inherit its font properties from the document default properties. You could also check the attached Observed and expected screenshots.
Only a single tab stop on the same position should be allowed. This should be restricted in the Tabs dialog. Workaround: Create a custom TabStopsPropertiesDialog and change the behavior of the OK button through the Click event handler.
Using the ClearAll button in the Tabs dialog, the properties selected for alignment and leader of the tab stop are not reset to their default values. Workaround: Create a custom TabStopsPropertiesDialog and reset the values in the Click event handler of the Clear All button. The code for the custom dialog is attached.
TabStopsProperties dialog is non-modal dialog, but it should be modal.
Currently the API allows ClipboardHandler-s to be registered in ClipboardEx.ClipboardHandlers collection, which is used when content is pasted.
We can extend ClipboardHandler with property describing whether the handler is supported for copy, paste, or copy&paste, and use the collection for copy operation as well.
Workaround: Use RadRichTextBox.CommandExecuted and on copy, enhance the original data object in the clipboard:
this.radRichTextBox.CommandExecuted += (sender, e) =>
{
if (e.Command is CopyCommand)
{
var originalDataObject = Clipboard.GetDataObject();
DataObject dataObject = new DataObject();
foreach (string format in originalDataObject.GetFormats())
{
dataObject.SetData(format, originalDataObject.GetData(format));
}
dataObject.SetData("Html", new HtmlFormatProvider().Export(this.radRichTextBox.Document));
Clipboard.SetDataObject(dataObject);
}
};
After you have inserted a new row from the context menu of the RadRichTextBox, it becomes selected and then if you want to add a new row from the context menu again, the option is disabled. You should be able to add a new row, so the insert command must be enabled.
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).
Currently, when a page break is added to the document, the paragraph is not split in two. It will be better to split the paragraph and add one additional paragraph in order to achieve a more consistent look of the document when applying a style, adding one of the paragraphs to a list or having different first line/hanging indentation of the paragraphs.
Steps to reproduce: Create a new blank document. Write some text. Use "Enter" key to create some empty lines, until new page is created. Print to a real printer or to pdf file using tools like PDFCreator or Bullzip. Actual result: Nothing is printed. Expected result: Two pages should be printed. Workaround: Add an empty character in the footer.
The following HTML should generate a table with width of 600px: <table width="25px" border="1px solid black"> <tr> <td> <table width="600"> <tbody> <tr><td >Test</td></tr> </tbody> </table> </td> </tr> </table> When the same html is imported in RadRichTextBox, the table is 25px wide.
A NullReference exception is thrown when the content of a MS Outlook mail is copy/pasted into RadRichTextBox. This is reproducible in Paged LayoutMode.
This feedback item is duplicated. Here is the link to the original bug report: https://feedback.telerik.com/Project/143/Feedback/Details/145511-richtextbox-incorrect-layout-and-export-of-bi-directional-mixed-text-containin
Create document with some text. Insert image. Right click on image and add hyperlink to it. Drag the image somewhere in the text. Observe that it is created a copy of the image. Actually, the issue occurs when the hyperlink is inserted.
Styles from RTF are incorectly copied to RRTB.
Adding a style with a specific name through the dialog, removing it and adding it again through the dialog causes an error.
We've run into the following problem with the RadDocumentEditor: 1. Turn on bold 2. Type some characters. 3. Turn off bold. 4. Insert some text using the Insert method in Telerik.Windows.Documents.Model.RadDocumentEditor. The inserted text is bold; it should ​have no formatting.
When HTML document which contains brackets and is set to RTL is imported, the closing brackets are converted to opening. Workaround: Set RadRichTextBox's TextRenderingMode="TextBlockWithPropertyCaching"
When you click for second time the caret locates in the correct position. I.e. there are needed 2 clicks before first line of paragraph which starts with bookmark to set the correct caret position. It also cause the problem of incorrect selection which will select the previous paragraph. This is because bookmarks essentially don't have position before them.