Page 1 of 1

Issue with Text Formatting when Copying from RichEdit

Posted: Tue May 26, 2026 12:08 pm
by tomr
Hi Sergey,
I have encountered an issue that I can reproduce in the RichViewActionTest demo.
Please type the following text:
Example Text.png
Example Text.png (3.37 KiB) Viewed 41 times
After copying this text and pasting it into Microsoft Word or Outlook, the formatting/display appears differently.
Text Pasted in Office.png
Text Pasted in Office.png (2.08 KiB) Viewed 41 times
However, if I type the same text directly in Word and then paste it into a RichEdit control, everything works as expected.
Text Written in Office.png
Text Written in Office.png (1.99 KiB) Viewed 41 times
Text from Office pasted into Richedit.png
Text from Office pasted into Richedit.png (19.34 KiB) Viewed 41 times
Is there anything I can do to avoid or fix this behavior?

Also, if possible, could you please take a look at my responses regarding the other topics as well?
https://www.trichview.com/forums/viewto ... 134#p49134
https://www.trichview.com/forums/viewtopic.php?t=15388

Kind regards,
Tom