You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EmojiOne Area plugin uses a data: image in the CSS for the default button.
In my extension this default icon is hidden and another is used with the core icon() helper.
But the image is still in the CSS and still triggers CSP error if data: is not allowed by the img-src rule. It does not prevent the use of the plugin, but it will spam the CSP report URI if enabled.
It might be a good idea to extract the useful parts of the CSS into extension.less and not import all the original rules.
The text was updated successfully, but these errors were encountered:
The EmojiOne Area plugin uses a
data:
image in the CSS for the default button.In my extension this default icon is hidden and another is used with the core
icon()
helper.But the image is still in the CSS and still triggers CSP error if
data:
is not allowed by theimg-src
rule. It does not prevent the use of the plugin, but it will spam the CSP report URI if enabled.It might be a good idea to extract the useful parts of the CSS into
extension.less
and not import all the original rules.The text was updated successfully, but these errors were encountered: