7164723a7a
* Fix shortcut not being unregistered when Plain/RichTextBadge is detroyed This fixes an issue where, if the "Show HTML by default" option of fields located at the same position in two notetypes have different values, switching between those notetypes during an editor session would cause the keyboard shortcut (Ctrl+Shift+X) to no longer function correctly thereafter. * Don't restore fields' state if notetype has been modified This fixes an issue where editor fields behave incorrectly after opening the 'Fields' dialog and customizing the notetype. An example of incorrect behavior is that after adding a new field and closing the dialog, the added field would display both richtext input and plaintext input, regardless of the options. * Rename type, variable and function - Apply suggestions from code review - Also use optional chaining instead of non-null assertion |
||
---|---|---|
.. | ||
card-info | ||
change-notetype | ||
components | ||
congrats | ||
deck-options | ||
domlib | ||
editable | ||
editor | ||
fields | ||
graphs | ||
html-filter | ||
icons | ||
image-occlusion | ||
import-csv | ||
lib | ||
mathjax | ||
patches | ||
reviewer | ||
sql_format | ||
sveltelib | ||
tag-editor | ||
.gitignore | ||
bundle_svelte.mjs | ||
bundle_ts.mjs | ||
esbuild_jest.mjs | ||
jest.config.js | ||
licenses.json | ||
page.html | ||
README.md | ||
transform_ts.mjs | ||
tsconfig.json | ||
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