Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BetterFormattingRedux not working #6

Open
Serega007RU opened this issue Sep 9, 2021 · 1 comment
Open

BetterFormattingRedux not working #6

Serega007RU opened this issue Sep 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Serega007RU
Copy link

I get an error in the console

[PluginManager] Unable to fire observer for BetterFormattingRedux v2.3.12 TypeError: Cannot read properties of undefined (reading 'create')
    at BetterFormattingRedux.buildToolbar (betterdiscord://plugins/BetterFormattingRedux.plugin.js:576)
    at BetterFormattingRedux.addToolbar (betterdiscord://plugins/BetterFormattingRedux.plugin.js:611)
    at BetterFormattingRedux.observer (betterdiscord://plugins/BetterFormattingRedux.plugin.js:396)
    at PluginManager.onMutation (webpack-internal:///./src/modules/pluginmanager.js:296)
    at MutationObserver.eval (webpack-internal:///./src/modules/pluginmanager.js:62)

I also get this error, it seems to be related to this plugin.

Refused to load the script 'https://rauenzi.github.io/BetterDiscordAddons/Plugins/Sortable.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'nonce-ODcsNDYsMjE5LDg3LDE5OCwxOTQsMjQwLDExMw==' https://cdn.discordapp.com/animations/ https://www.gstatic.com/recaptcha/ https://www.google.com/recaptcha/ https://recaptcha.net/recaptcha/ https://*.hcaptcha.com https://hcaptcha.com https://js.stripe.com https://js.braintreegateway.com https://assets.braintreegateway.com https://www.paypalobjects.com https://checkout.paypal.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

I tried manually loading Sortable and adding it to plugins but it doesn't seem to be a plugin

@Strencher
Copy link
Owner

Yeah, sortable is an issue. I'll see later if i can see how to deal with that.

@Strencher Strencher added the bug Something isn't working label Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants