Closed gs-scooter closed 3 months ago
Sorry for the delayed reply.
Some styles are in-lined by prosemirror. I guess unsafe inline has to allowed and there are no workarounds for this.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.
What happened?
When using the editor within an Angular component, a content security policy exception is thrown in the browser if any of these functions are chosen in the editor:
The issue is that attempting any of these functions will try to add a style attribute to a DOM element. The CSP exception will then break functionality.
Version
v16.0.1
Angular Version
v16.2.2
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
Willing to submit a PR?
No