Trumbowyg
Trumbowyg copied to clipboard
allowTagsFromPaste deprecated tags
I'm using Trumbowyg 2.23.0 and when I copy a text from Word and paste into my trumbowyg usin the allowTagsFromPaste plugin the font tag remains althought is not in allowedTags.
Font tag is deprecated in HTML5, but Word remains using it to style in cut & paste, so the font style remains.
I solved it adding all the complete removableTags on the configuration of the plugin and adding "font" to the list (I want to remove all of them and font)
I think deprecated HTML tags should be on removableTags by default, because Word is still using them
Thanks a lot