How to restrict HTML content while pasting some text from a website to our EditText?.
Example I copy some text from a website, when I paste the text in my EditText the HTML font and text size also comes along. What i want is to restrict any HTML content while I paste the text. Tried several methods using TextWatcher and InputFilters, but none of them are working. Whatsapp is handling it somehow. Please help.
Edit: The string can be converted to non-HTML but how to make changes in EditText?