Trumbowyg
Trumbowyg copied to clipboard
AllowTagsFromPaste - is it possible to keep tags but clean out attributes?
Hi. I'm allowing a bunch of tags using the AllowTagsFromPaste plugin, which is working brilliantly. However I've noticed that now I get loads of crap in my text. For example I want to allow h1 tags, but I dont want the class, style etc that comes with them. Is that in any way possible? If not, I guess this is a feature request :-)
There is nothing to manage that today, and that's not so easy to match attributes than tags, but nothing is impossible :)
The cleanpaste plugin has a few features to clean attributes, did you check that plugin?