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

Emoji mart causes chrome extension rejection #1289

Open
nikkimontoya opened this issue Nov 29, 2024 · 1 comment
Open

Emoji mart causes chrome extension rejection #1289

nikkimontoya opened this issue Nov 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nikkimontoya
Copy link

I use BlockNote in a chrome extension. Today I received rejection from Chrome Store because the bundle contains obfuscated code (see the image). The obfuscated code comes from 'emoji-mart' which is used by @blocknotejs/core. Is there a way to not add emoji-mart into a bundle if I don't need the emoji feature?
Screenshot 2024-11-29 at 13 33 52

@nikkimontoya nikkimontoya added the bug Something isn't working label Nov 29, 2024
@YousefED
Copy link
Collaborator

Hi,

If this is a dynamically loaded library from emoji-mart, you could just try removing it from your packed folder. Not sure if it will work, but if you don't have emojis enabled, it should never load this and your code should still work.

The alternative would be that we need to separate the emoji functionality to a separate, opt-in, plugin. This would require some additional development (ofc, you can also give this a try).

Best,

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