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

Editor fetches assets from external sources #230

Open
ccadek opened this issue Sep 19, 2023 · 1 comment
Open

Editor fetches assets from external sources #230

ccadek opened this issue Sep 19, 2023 · 1 comment

Comments

@ccadek
Copy link

ccadek commented Sep 19, 2023

When this editor is loaded it fetches assets from the following locations:

https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css

https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff

https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic

https://maxcdn.bootstrapcdn.com/font-awesome/latest/fonts/fontawesome-webfont.woff2?v=4.7.0

Is it possible to have these assets bundled within the application as to not calls these assets from external sites?

@RIP21
Copy link
Owner

RIP21 commented Dec 2, 2023

I assume these are more questions to actual EasyMDE and Codemirror packages than to this wrapper.
I have no control over these dependencies.

One possible option to solve for that, is to use 'patch-package' or similar, to patch these dependencies on postinstall changing there URLs, or removing them completely and importing these CSS, Fonts etc. manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants