mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
![]() The editor already strips script tags from fields, but was allowing
through Javascript in things like onclick handlers. We block this now,
as the editor context has access to internal APIs that we don't want to
expose to untrusted third-party code.
(cherry picked from commit
|
||
---|---|---|
.. | ||
editable | ||
editor | ||
html-filter | ||
icons | ||
lib | ||
mathjax | ||
reviewer | ||
routes | ||
src | ||
tools | ||
.gitignore | ||
bundle_svelte.mjs | ||
bundle_ts.mjs | ||
licenses.json | ||
page.html | ||
README.md | ||
svelte.config.js | ||
transform_ts.mjs | ||
tsconfig.json | ||
tsconfig_legacy.json | ||
vite.config.ts | ||
yarn.sh |
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias