anki/qt/aqt
Henrik Giesel 3beea5e1e4
Split/Merge editor.py for its three use cases (#1581)
* Forbid inserting object and iframe tags via PlainTextInput

* Add optional browserMode parameter to Editor

* Create new ts modules for three editor instances

- note-creator for AddCards
- browser-editor for the editor in the Browser
- reviewer-editor for the EditCurrent

* Revert "Forbid inserting object and iframe tags via PlainTextInput"

This reverts commit ab90ae8194494d883a1863126496e2d8f332509e.

* Refactor browserMode to editorMode

* Move new editor variants inside /ts/editor directory

* Fix typo
2022-01-12 14:51:43 +10:00
..
browser Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
data Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
forms Fix Alt-Gr and add shortcut to create copy again (#1544) 2021-12-10 17:52:08 +10:00
operations add unbury_cards() op 2021-12-08 09:44:47 +10:00
qt tweak qrc deprecation warning 2021-12-04 14:35:49 +10:00
__init__.py Fix Alt-Gr and add shortcut to create copy again (#1544) 2021-12-10 17:52:08 +10:00
_macos_helper.py implement a basic native macOS audio recorder 2021-12-07 18:48:24 +10:00
about.py Update about.py (#1533) 2021-12-07 09:01:30 +10:00
addcards.py Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
addons.py Allow customization of add-on config help path (#1564) 2021-12-22 12:51:18 +10:00
BUILD.bazel run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
changenotetype.py Fix memory leak in AnkiWebView (#1510) 2021-11-29 12:31:37 +10:00
clayout.py Allow <audio> to play without user interaction in accordance to autoplay setting v2 (#1539) 2021-12-08 08:08:56 +10:00
colors.py
customstudy.py PEP8 pylib (#1443) 2021-10-22 20:39:49 +10:00
dbcheck.py
deckbrowser.py retire the v1 scheduler 2021-11-24 14:12:56 +10:00
deckchooser.py Fix chooser label not being updated when current notetype/deck renamed (#1452) 2021-10-25 13:23:06 +10:00
deckconf.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
deckdescription.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
deckoptions.py work around 'which deck would you like' sticking around on Qt6/macOS 2021-12-06 18:24:38 +10:00
editcurrent.py Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
editor.py Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
emptycards.py Fix memory leak in AnkiWebView (#1510) 2021-11-29 12:31:37 +10:00
errors.py
exporting.py fix check for user exporting into data folder on Windows 2021-11-25 09:30:17 +10:00
fields.py Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
filtered_deck.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
flags.py use Qt search path instead of resource system 2021-10-12 16:17:08 +10:00
gui_hooks.py
hooks_gen.py
importing.py dump traceback to console on importing exception 2022-01-02 09:47:44 +10:00
legacy.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
main.py temporarily disable importing multiple files 2022-01-02 09:49:51 +10:00
mediacheck.py fix media trash throttling; decrease delay 2021-12-04 09:10:31 +10:00
mediasrv.py don't cache js files 2021-12-28 13:50:11 +10:00
mediasync.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
modelchooser.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
models.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
mpv.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
notetypechooser.py Remove all_names in notetypechooser (#1501) 2021-11-23 10:27:57 +10:00
overview.py avoid duplicate work in overview screen 2021-11-25 09:01:02 +10:00
package.py ignore a spurious mypy error 2021-10-28 19:19:37 +10:00
pinnedmodules.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
preferences.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
profiles.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
progress.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
py.typed
reviewer.py Add Create Copy to reviewer and use current card's deck (#1569) 2021-12-31 16:45:30 +10:00
schema_change_tracker.py
sound.py macOS audio tools no longer reside in audio/ subfolder 2021-12-09 17:33:46 +10:00
stats.py Fix memory leak in AnkiWebView (#1510) 2021-11-29 12:31:37 +10:00
studydeck.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
switch.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
sync.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
tagedit.py switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
taglimit.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
taskman.py avoid importing directly from PyQt5 where possible 2021-10-15 10:47:53 +10:00
theme.py implement a basic native macOS audio recorder 2021-12-07 18:48:24 +10:00
toolbar.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
tts.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
undo.py
update.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
utils.py Add browser action to create note copy (#1535) 2021-12-08 08:40:48 +10:00
webview.py Support drag & drop in main window to import files (#1562) 2021-12-20 20:22:21 +10:00
wheel_description.txt
winpaths.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00