My app has various summernote based fields where my non-tech savvy users paste content from all sort of other sources. If they paste it with formatting then they create a right mess of mixed fonts and sizes… and no matter how often I tell them to use “Paste as Plain Text”, I always end up with a new user who is frustrated and starts off with a bad impression of my product.
So… I want to implement a bit of JS which will ensure that all the formatting is automatically removed when they paste into these fields, whether they use “Paste” or “Paste as Plain Text”.
Google shows a few different solutions available… before I go and experiment with them, I wanted to know if anyone has played with this already and come up with a solution which works across all browsers!