Skip to content

Commit c25af6c

Browse files
committed
Add eval usage description
1 parent 40ff3f9 commit c25af6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8" />
55
<!-- default-src 'self'; should not be added due to fetch -->
66
<!-- img-src 'self' data: -->
7+
<!-- Enabling unsafe-eval due to ECharts Rendering: https://github.com/imzbf/md-editor-v3/blob/e1796bdba97b6fdc3b11dfc6f10897173b83d415/packages/MdEditor/layouts/Content/composition/useEcharts.ts#L100 -->
78
<meta
89
http-equiv="Content-Security-Policy"
910
content="script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';"

0 commit comments

Comments
 (0)