Anki/ts/lib
Damien Elmes bfc87c0427 Use CSP to block inline JS content in editor (#3939)
* Revert "Sanitize field content in editor"

This reverts commit 1c156905f8.

* Use CSP to block inline JS content in editor

This blocks inline scripts, scripts in the media folder, and
handlers like onclick in the editor. This is nicer than the previous
solution - it doesn't make any permanent changes, and leaves other
content like SVGs alone. Thanks to Nil Admirari for the suggestion.

(cherry picked from commit ddb8573e8d)
2025-04-23 16:23:18 +10:00
..
components Added: SpinnerBox percentage symbol. (#3777) 2025-02-06 14:21:26 +07:00
domlib Use CSP to block inline JS content in editor (#3939) 2025-04-23 16:23:18 +10:00
generated alertOnError should default to true 2024-04-17 20:13:37 +10:00
sass Update dprint (#3376) 2024-08-22 18:24:56 +07:00
sveltelib Fix editor width changing as tag completions shown (#3574) 2024-11-18 01:11:21 +10:00
tag-editor add cut handler in TagInput (#3791) 2025-02-06 14:26:44 +07:00
tslib Update Deck Options strings to clarify Timers (#3792) 2025-02-06 15:17:30 +07:00