What is the recommended technique to filter out HTML paste when it contains <form> tag? It's conflicting with the way submit is working. The editor supports HTML paste.
RadEditor does not offer a built-in functionality that strips the form elements.
You can attach to the OnClientPasteHtml event, check for the "Paste" command execution, strip the form tags with a regular expression and paste the modified content in the editor (args.set_value(newContent);).
Best regards,
Rumen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>