-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unwanted rich text formatting when pasting #6353
Fix unwanted rich text formatting when pasting #6353
Conversation
thank you. please add a comment in the code that it removes rich text formatting |
Since this issue seems to only occur when pasting, should I modify the solution to an override of the paste method so there are no unnecessary checks in the TextWatcher? Edit: Nvm, looks like you’d need to override a private member or do a lot of extra stuff to achieve that unless I missed something. |
b29e91b
to
3e24a40
Compare
0efda98
to
ea1b910
Compare
thank you. Is there are reason for placing the code in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation!
What is it?
Description of the changes in your PR
getSpans
andremoveSpan
to remove text styling when pastingFixes the following issue(s)
APK testing
On the website, the APK can be found by going to the "Checks" tab below the title and then on "artifacts" on the right.
Due diligence