Ionaru / Ionaru/easy-markdown-editor
css blocked when imported
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use the easyMDE on svelte, but the css can't be loaded, i tried copying
``
In the index.html file or
` @import "https://unpkg.com/easymde/dist/easymde.min.css"; `
in the style .But every time in the browser devtool ->network the easymde.css status is blocked:csp.
How do i import it without it being blocked?
Contributor guide
Research direction
Reproduce the report in the Svelte setup using the stylesheet link in index.html and the @import in the style block, then inspect the browser DevTools Network entry showing blocked:csp. Trace which Content Security Policy setting prevents the easymde.css request; done means the EasyMDE stylesheet loads without a CSP block.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- frontend, security, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100