Our users paste html code into the WYSIWYG view (for various reasons that I cannot control). The problem that we have is that the br and nbsp tags that get pasted in affect the validity of the code. Is there a way to control the text that gets pasted in without using the force as plain text popup? I have tried to figure out what functions are executed during a paste, but I cannot figure it out. The main issue is that the users will likely "Ctrl-A" the text that is already there, and then "Ctrl-V" to paste. This is the specific scenario that I am having a problem with.
Any help is appreciated.
Thanks.
Any help is appreciated.
Thanks.