Anki is a smart spaced repetition flashcard program
Find a file
Hikaru Y e35a938368
Prevent MathJax editor from closing unexpectedly when selecting text (#2484)
* Prevent MathJax editor from closing unexpectedly when selecting text

* Revert "Prevent MathJax editor from closing unexpectedly when selecting text"

This reverts commit b43d33a6de.

* Prevent floating/overlay element from closing when selecting text

Apply suggestions from code review.

Use a 'mousedown' event instead of a 'click' event so that releasing
the mouse button at the end of a text selection operation when the
pointer is outside a floating/overlay element does not close it.

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>

---------

Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2023-04-28 11:39:50 +10:00
.buildkite Support scheduled Rust cache clearing 2023-04-26 17:19:00 +10:00
.cargo Fix clean build failure due to protoc change 2023-01-26 09:33:39 +10:00
.config Update Rust deps 2023-03-31 14:38:24 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build Revert Windows build to Qt 6.4; update to 6.4.3 2023-04-14 12:05:34 +10:00
cargo Bump h2 version 2023-04-19 15:31:13 +10:00
docs Use a ninja variable for node binary (#2346) 2023-01-25 21:05:11 +10:00
ftl Improve import messaging when notetype has changed (#2483) 2023-04-28 11:39:18 +10:00
proto Various tweaks to I/O code (#2478) 2023-04-19 15:30:18 +10:00
pylib Improve import messaging when notetype has changed (#2483) 2023-04-28 11:39:18 +10:00
python Bump pyqt6-sip version 2023-04-27 11:43:01 +10:00
qt Improve import messaging when notetype has changed (#2483) 2023-04-28 11:39:18 +10:00
rslib Improve import messaging when notetype has changed (#2483) 2023-04-28 11:39:18 +10:00
sass Ensure sync spinner spins when reduce motion is on 2023-03-26 14:49:49 +10:00
tools Add helper script for Intel cross compile on ARM Mac 2023-04-12 15:48:31 +10:00
ts Prevent MathJax editor from closing unexpectedly when selecting text (#2484) 2023-04-28 11:39:50 +10:00
.deny.toml Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
.dprint.json Update Chrono Crate (#2242) 2022-12-07 17:00:14 +10:00
.eslintrc.js Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
.gitmodules Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.prettierignore Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
.prettierrc Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version 2023-03-31 13:00:05 +10:00
Cargo.lock Bump h2 version 2023-04-19 15:31:13 +10:00
Cargo.toml Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
CONTRIBUTORS fix stats calendar incorrect due to daylight savings time (#2456) 2023-03-28 15:35:06 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
package.json Update to the latest TypeScript version 2023-04-12 16:42:28 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md fix build badge 2021-06-24 09:21:56 +10:00
run Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run.bat Allow using the bundled mpv for testing on Windows 2023-02-16 17:41:25 +10:00
rust-toolchain.toml Bump Rust version 2023-03-31 14:11:33 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Update to the latest TypeScript version 2023-04-12 16:42:28 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.