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.
If a table style is applied to a table, and then document is exported/imported to RTF, properties of the style are applied as local properties. Subsequent edits of the style (or changing the style of the table) seems to not work, as the local properties are with higher priority.
Support for file formats other than .TDF is required, so that a broader range of dictionaries can be used. Consider adding support for OpenOffice dictionaries.
RadRichTextBox: Add import/export in the following formats: .mht .odt .epub .doc