Clear text formatting when pasting in summernote

Hello,

I have a page where I have multiple summernote editors (up to 8). I’d like, for all and any of them, that when users paste text, all formating is cleared. It seems possible according to https://stackoverflow.com/questions/30993836/paste-content-as-plain-text-in-summernote-editor .

Would someone have guidance on how could this code be applied to my use case, with a set of multiple editors?

Thanks!

Community Page
Last updated: