Last Updated: 06 Jan 2017 15:09 by ADMIN
Created on: 07 May 2015 13:45
Category: RichTextBox
Type: Bug Report
RichTextBox: RadDocumentEditor.Insert loses local character formatting
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.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
Posted on: 06 Jan 2017 15:09
The described issue is not reproducible. I am declining the item due to insufficient information.
Posted on: 12 May 2015 16:04
Hi Allan,

I tried to reproduce the behavior you are describing in the comment, but to no avail. I tested it with the latest version of the controls. If you are experiencing such issues, you could open a support ticket and send us a sample project, which reproduces this behavior to investigate it further.

Posted on: 12 May 2015 12:38
After further review, we've found that the issue is bigger than originally thought and the Insert method is probably not to blame. Here are more general steps to creating the same problem:

1. Turn on bold with Ctrl+B.
2. Type some characters.
3. Turn off bold with Ctrl+B.
4. Type Enter to go to the next line.
5. Type some characters.

The characters in step 5 are bold; they should have no formatting.