Anki/qt/aqt
Damien Elmes 174a2e7bc5 Revert "Prefer image pastes over HTML in the editor (#2856)"
This reverts commit abd8759d50.

Rolling this back for now, as it's caused a couple of regressions:

- In the old path, we returned (html, internal=False); in the new path,
it's returned as internal=True, which prevents formatting from being
stripped. This requires night mode to reproduce, as we don't strip text
colors in day mode.
- It can result in lost alt tags and filenames, as after right clicking on an
image in Chrome and choosing 'copy image', Chrome puts both the HTML and
the image on the clipboard

Related discussion: https://forums.ankiweb.net/t/anki-23-12-beta/37771/90
2023-12-11 12:27:41 +10:00
..
browser Load MathJax's text-chtml-full component in reviewer/previewer (#2836) 2023-11-20 16:50:55 +10:00
data Add an option to stop the timer on answer (#2673) 2023-09-23 14:01:03 +10:00
forms Allow user to configure hard/good buttons when rescheduling off 2023-12-08 11:04:34 +10:00
import_export Allow im-/exporting with or without deck configs (#2804) 2023-11-13 13:54:41 +10:00
operations Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
qt Automatically disable sandbox on Qt5 PyPi/packaged builds 2023-11-16 10:28:58 +10:00
__init__.py Automatically disable sandbox on Qt5 PyPi/packaged builds 2023-11-16 10:28:58 +10:00
_macos_helper.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
about.py Fix Mathjax can only be pasted once (#2869) 2023-12-05 10:01:25 +10:00
addcards.py Fix switching of add & history buttons when selecting IO notetype (#2833) 2023-11-20 16:36:25 +10:00
addons.py Fix add-ons screen showing 'requires Anki >= 2.1.231000' 2023-11-05 11:16:09 +10:00
changenotetype.py Update Python deps 2023-03-31 14:04:05 +10:00
clayout.py Load MathJax's text-chtml-full component in reviewer/previewer (#2836) 2023-11-20 16:50:55 +10:00
colors.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
customstudy.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
dbcheck.py Backup improvements (#1728) 2022-03-21 19:40:42 +10:00
debug_console.py Pass dict for locals and globals to exec() (#2590) 2023-07-25 21:21:06 +10:00
deckbrowser.py Ensure deck browser fetches collection data in the background 2023-12-10 12:37:01 +10:00
deckchooser.py Make dialogs non-blocking (#1650) 2022-02-10 09:53:13 +10:00
deckconf.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
deckdescription.py Update Python deps 2023-03-31 14:04:05 +10:00
deckoptions.py Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
editcurrent.py Apply same ctrl+numpad enter fix that the add screen has 2023-10-26 11:57:37 +10:00
editor.py Revert "Prefer image pastes over HTML in the editor (#2856)" 2023-12-11 12:27:41 +10:00
emptycards.py Rework & unify webview identification and title setting (#2366) 2023-02-10 14:53:11 +10:00
errors.py Handle invalid install timestamps in add-ons 2023-12-06 09:20:42 +10:00
exporting.py Change export notes' parent window in card browser (#2761) 2023-10-22 10:23:58 +10:00
fields.py Skip template checks in Fields screen (#2670) 2023-09-20 16:09:54 +10:00
filtered_deck.py Allow user to configure hard/good buttons when rescheduling off 2023-12-08 11:04:34 +10:00
flags.py Introduce new color palette using Sass maps (#2016) 2022-09-16 14:11:18 +10:00
gui_hooks.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
importing.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
legacy.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
main.py Rework rollover check 2023-12-10 12:37:01 +10:00
mediacheck.py Increase default size of media check screen 2023-07-03 23:58:24 +10:00
mediasrv.py Fix non-local .html testing 2023-12-08 12:43:09 +10:00
mediasync.py Prevent media syncing from blocking collection tasks (#2740) 2023-10-17 09:47:50 +10:00
modelchooser.py Add callback and non-blocking option to StudyDeck (#1643) 2022-02-07 22:05:59 +10:00
models.py fix: refresh model list when legacy addon adds notetype (#2825) 2023-11-13 10:36:21 +10:00
mpv.py Fix ModuleNotFoundError: No module named 'distutils' (#2723) 2023-10-11 14:12:18 +10:00
notetypechooser.py Make dialogs non-blocking (#1650) 2022-02-10 09:53:13 +10:00
overview.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
package.py Fix startup failure in macOS bundle 2023-10-14 13:49:33 +10:00
preferences.py Don't restrict answer key shortcuts 2023-11-13 16:09:32 +10:00
profiles.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
progress.py Ensure progress windows get cleaned up 2023-12-08 13:54:32 +10:00
props.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
reviewer.py Load MathJax's text-chtml-full component in reviewer/previewer (#2836) 2023-11-20 16:50:55 +10:00
schema_change_tracker.py Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
sound.py Fix mpv idle notification not using main thread 2023-12-06 11:40:05 +10:00
stats.py Update Python deps 2023-03-31 14:04:05 +10:00
studydeck.py Fix filter area not starting focused on Qt 6.6.1 2023-12-06 14:30:46 +10:00
stylesheets.py Workaround Ubuntu ignoring tooltip palette in dark mode 2023-05-31 15:19:10 +10:00
switch.py Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
sync.py Fix sync status check blocking collection access 2023-12-10 12:37:01 +10:00
tagedit.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
taglimit.py Move custom study tag and limit gathering+saving into the backend 2022-03-10 16:23:03 +10:00
taskman.py Fix mpv idle notification not using main thread 2023-12-06 11:40:05 +10:00
theme.py Fix misalignment of IO masks in Qt5 when image is vertically long (#2829) 2023-11-16 10:30:54 +10:00
toolbar.py Reduce shaking of bottom bar (#2734) 2023-10-15 10:06:28 +10:00
tts.py Fix TTS not working properly with auto advance (#2874) 2023-12-06 11:45:33 +10:00
undo.py fix redo menu item showing undo text 2021-08-04 10:28:45 +10:00
update.py Fix Anki closing before 'clock is off' message appears 2023-11-08 12:01:31 +10:00
utils.py Another fix for unfocused input box in Qt 6.6.1 2023-12-11 11:54:47 +10:00
webview.py More tweaks to API security 2023-11-09 20:43:23 +10:00
widgetgallery.py Improve debug console (#2435) 2023-03-15 15:29:05 +10:00
winpaths.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00