This is a migrated thread and some comments may be shown as answers.

Padding lost after paste command.

0 Answers 11 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Jakub
Top achievements
Rank 1
Iron
Jakub asked on 03 Jan 2019, 09:55 AM

Hi, 

I am using RichTextBox in LayoutMode="Flow" and Padding="10". It is working when writing new content, but one of application user copied some content from another editor (maybe MSWord, I dont know) and the padding is gone. Well, it looks like a padding but when exporting this document to xaml or html, the Indent property for this spans is -97.005. Can I prevent from this situation? 

 

As you can see on screenshots, the Indent is set to minus value and richtextbox even when padding is set to 10 does not take this into account.

No answers yet. Maybe you can help?

Tags
RichTextBox
Asked by
Jakub
Top achievements
Rank 1
Iron
Share this question
or