Damien Elmes
28f8ea5925
Merge pull request #1284 from abdnh/deckoptions-tooltips-rtl
...
Tweak deck options tooltips for RTL languages
2021-07-11 16:47:02 +10:00
abdo
f9e86ccf6f
Tweak deck options tooltips for RTL languages
2021-07-10 00:45:10 +03:00
Damien Elmes
2a6040170a
fixed inability to import v1 into v1
...
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/116
2021-07-08 10:32:44 +10:00
Damien Elmes
bfa8ee6b96
more friendly message for v2 import into v1
2021-07-08 10:32:27 +10:00
Damien Elmes
7329d18688
Merge pull request #1281 from hikaru-y/fix-codable-cut
...
Fix Ctrl-X behaviour in Codable
2021-07-08 10:16:51 +10:00
hikaru-y
d7ec723f4b
Set lineWiseCopyCut option to false
...
Fixes https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/103
Related: https://github.com/codemirror/CodeMirror/issues/3169
2021-07-08 01:19:19 +09:00
Damien Elmes
0043910ae7
Merge pull request #1280 from hgiesel/addonimprov2
...
Export via components for Deck Options
2021-07-07 09:53:05 +10:00
Damien Elmes
13dcc9636e
Merge pull request #1279 from hgiesel/addonimprov
...
Remove disabled / Export via Components
2021-07-07 09:31:00 +10:00
Damien Elmes
af6a80c4ec
Merge pull request #1277 from RumovZ/config-keys
...
Add constants for literal config keys
2021-07-07 09:14:40 +10:00
Henrik Giesel
30a50b746b
Export editor globals under anki namespace
2021-07-06 03:48:33 +02:00
Henrik Giesel
a3a558159b
Don't use containers components within Container
...
- dynamic componets will be placed outside of the inner container
2021-07-06 03:43:40 +02:00
Henrik Giesel
f323f96a85
Export under anki.components
2021-07-06 03:36:02 +02:00
Henrik Giesel
9546c49f93
Remove WithShortcut for now - it does not work
2021-07-05 22:32:19 +02:00
Henrik Giesel
fb3545545c
disabledKey => fieldFocusedKey
2021-07-05 18:15:03 +02:00
Henrik Giesel
57fe9f91c2
Fix issues with sometimes cause assignment of wrong position value
2021-07-05 17:17:58 +02:00
Henrik Giesel
9e415344ae
Use Components.svelte instead of exporting from EditorToolbar.svelte
2021-07-05 16:19:03 +02:00
RumovZ
e763745e05
Add pylib/browser.py for literal config keys
...
Also, remove config bools for sort order.
2021-07-05 12:44:48 +02:00
Damien Elmes
9533029922
Merge pull request #1278 from hikaru-y/fix-dupe-bgcolor
...
Prevent #dupe bgcolor from being carried over when copying text
2021-07-05 11:10:18 +10:00
Damien Elmes
42514dd008
add comment about the use of linear-gradient
...
Otherwise one of us is likely to return to the code in a few years,
think it could be made simpler, and then break things again. :-)
2021-07-05 11:09:22 +10:00
Damien Elmes
9abd807384
Merge pull request #1276 from hikaru-y/follow-up-preload-images
...
Follow-up to #1271 (Preload answer images)
2021-07-05 11:04:57 +10:00
hikaru-y
22e036a129
Prevent #dupe bgcolor from being carried over when copying text
...
use 'background-image' instead of 'background-color'
to prevent the background-color from being carried over
when copying text to another field in day mode
2021-07-05 04:11:03 +09:00
hikaru-y
00eaf63d41
Follow-up to #1271
...
- remove no-longer-required 'escape_media_filenames()' b21af06d
- clean up previewer.py
2021-07-05 01:13:17 +09:00
Damien Elmes
50db050d4c
update translations
2021-07-04 21:41:34 +10:00
Damien Elmes
447bd2671c
Merge pull request #1273 from hgiesel/macshortcuts
...
Execute Ctrl+C/V/X/A via execCommand in editor
2021-07-04 16:02:52 +10:00
Damien Elmes
289845a049
remove old Mac shortcut code completely
...
The shortcuts seem to work correctly without it on Qt 5.14, so this
code seems to have only been required for older Qt releases.
2021-07-04 16:00:23 +10:00
Damien Elmes
c5004580c6
Merge pull request #1272 from hgiesel/clickondiv
...
Move selection into editable, if it's not there after focus
2021-07-04 15:52:06 +10:00
Damien Elmes
29808094c8
Merge pull request #1271 from hikaru-y/preload-images
...
Preload answer images
2021-07-04 15:50:55 +10:00
Damien Elmes
d0480ff529
Merge pull request #1270 from RumovZ/flag-manager
...
Add flag manager and hook
2021-07-04 15:45:11 +10:00
Damien Elmes
b21af06d75
stop (un)escaping media filenames
...
Back in the WebKit days, images with Unicode filenames would fail to
appear if they weren't percent-escaped. This no longer seems to be the
case - with this patch, images appear correctly on the Mac and Windows
platforms I tested with.
Fixes https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/96
Fixes #1219
2021-07-04 15:27:29 +10:00
hikaru-y
bf93324448
Preload images to be displayed on answer side
2021-07-03 21:33:00 +09:00
Henrik Giesel
b74258f79e
Satisfy qt formatter
2021-07-03 01:54:10 +02:00
Henrik Giesel
5b2290f868
Execute Ctrl+C/V/X/A through execCommand in editor (so we can customize it)
2021-07-03 01:48:49 +02:00
Henrik Giesel
76f432c94f
Allow non-null assertion in focus-handlers
2021-07-03 01:14:59 +02:00
Henrik Giesel
1968972c1c
Move selection into editable, if it's not there after focus
2021-07-03 01:00:52 +02:00
RumovZ
94cc0cf901
Add flag manager and hook
...
'FlagManager' allows cached access to the flag objects, takes care of
renaming flags and notifies GUI components with the hook
'flag_label_did_change'.
2021-07-02 11:16:10 +02:00
Damien Elmes
f4b15e1351
Merge pull request #1266 from hgiesel/renamelib
...
More uniform file naming
2021-07-02 09:31:52 +10:00
Damien Elmes
f67f615277
Merge pull request #1267 from hgiesel/betterclozeicon
...
Use better cloze button icon
2021-07-02 09:30:24 +10:00
Henrik Giesel
db4cbfcb26
More uniform file naming
...
kebap-case for .ts, .scss, .html, and directories
2021-07-01 12:24:16 +02:00
Henrik Giesel
2680ffb969
Use better cloze button icon
2021-07-01 11:46:39 +02:00
Damien Elmes
02ba16a0d0
Merge pull request #1238 from hgiesel/icongalore
...
Update icons of the browser sidebar
2021-07-01 10:21:20 +10:00
Damien Elmes
f8ec999ae6
Merge pull request #1265 from hgiesel/dropdownexps
...
Refactor WithDropdown to be more versatile and cause less bugs
2021-07-01 10:15:29 +10:00
Henrik Giesel
01cc9df232
Add flag icons from mdi after all
...
- This way, we can also use their modifier versions with little pluses/minuses
2021-07-01 01:16:50 +02:00
Henrik Giesel
d5f8a6e50c
Remove multiple icons, new notetype/cardtype icons
2021-07-01 01:12:11 +02:00
Henrik Giesel
eec7eae885
Remove name_prefix from field sidebar item
2021-06-30 21:02:23 +02:00
Henrik Giesel
e1c171b819
Add missing type hint
2021-06-30 21:02:23 +02:00
Henrik Giesel
32f3c5dbe7
Replace card state and clock icon
2021-06-30 21:02:23 +02:00
Henrik Giesel
1850f24c4b
Replace saved search icon
2021-06-30 21:02:23 +02:00
Henrik Giesel
5031bafb61
Add NOTETYPE_FIELD sidebar items
2021-06-30 21:02:23 +02:00
Henrik Giesel
fecceb1997
Add notetype icons
2021-06-30 21:02:23 +02:00
Henrik Giesel
5fe2519619
Add new icons for decks
2021-06-30 21:02:23 +02:00