Closed
Description
We currently allow all css in the editor, because using a whitelist has the annoying side-effect of REMOVING styles that are already where or that have been manually added in source mode.
However, this also has the very annoying side-effect that pasting from Outlook, Word and similar tools (basically anything that exposes HTML/Richtext to the clipboard) has a LOT of extremely ugly CSS which we don't really want.
Maybe there's some way to apply stronger sanitization rules on pasted content in ckeditor5? Or some way to manually run code on paste where we could clean this up?