ckeditor-youtube-plugin
ckeditor-youtube-plugin copied to clipboard
Remove the required aspect of the allowedContent iframe attributes
Hi,
Is it possible to remove the required aspect of the allowedContent attributes on the iframe element? Currently, I can't upgrade the plugin to the latest version as I would have to change all existing content in our repository (add an empty attribute allow).
I'm not sure if the code really requires these attributes to be required, or if simply having them specified without the ! is already good enough.
Thanks!
The allowedContent rule requires the <iframe> element to have an allow attribute, but the plugin only adds this attribute if the paramAutoplay is true, meaning that if paramAutoplay is not true, the whole content will be stripped again.