Good morning dudes,
I have a little issue, I have a rich text editor but on copy and pasting it retains a lot of the gunk, unwanted fonts classes. It is even worse when copy and pasting from microsoft word. Here are some of the things I want:
- To remove all unwanted formatting except bold tags, uls, lis, hyperlinks and p tags
- On paste either, control +v or right click paste, remove formatting (cross platform solution that works on all browsers
- When I save to the database I have limited the content field to 500 chars, but if the user copy and pastes too much text it will drop a closing html tag and thus mess up my form.