codex-team / codex-team/editor.js
[Question] Content Security Policy inline style
Open
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hi,
I'm working on a project with Content Security Policy enabled.
When I import this library I get errors like this in the console:
Refused to apply inline style because it violates the following Content Security Policy


1) Does this library support a way to remove inline styles?
2) Is there a recommended approach to extracting inline css styles and moving them to a dedicated css file?
Relaxing CSP to allow inline/unsafe styles isn't an option.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.