Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Removal of ckeditor-plugin "clipboard" (see #3831) breaks advanced content filter #5151
In #3831, ckeditor's "clipboard"-plugin was removed. There is no need to remove the plugin just because the paste-buttons don't work anymore in modern browsers.
The "clipboard"-plugin needs to be re-added to ckeditor.
Edit: to clarify - the acf still works, because on reopening a document with a wysiwyg that contains unallowed styles, the content gets properly filtered.
Pasting any formatted text into an wysiwyg-editor triggers ckeditors acf. Tihs filter ist enabled by default and removes any unwanted formatting, ie. styles.
Pasting formatted text keeps any unwanted styles.
Steps to reproduce