Henrik Giesel
35777bb0ca
Disable Media button for Codable, but keep wrapping and cloze key for now
2021-06-18 02:02:01 +02:00
Henrik Giesel
5992910fe8
Disable ColorButtons for Codable
2021-06-18 01:44:15 +02:00
Henrik Giesel
2de2e7ccf5
Allow Tab and Shift+Tab on Codable
2021-06-18 01:32:46 +02:00
Henrik Giesel
dee7be2323
Disable FormatBlock buttons for Codable
2021-06-18 01:17:43 +02:00
Henrik Giesel
dd1344d7f0
Disable Bold button in Codable
2021-06-18 00:27:07 +02:00
Henrik Giesel
0315aeefd7
Make different onPaste behavior for Editable and Codable
2021-06-17 23:12:15 +02:00
Henrik Giesel
32b3702d3c
Have correct enter behavior in for Editable and Codable
2021-06-17 22:02:06 +02:00
Henrik Giesel
e773d75f6d
Add autoclosetag addon for CodeMirror
2021-06-17 21:45:11 +02:00
Henrik Giesel
b1414376e4
Make it so you don't have to close the HTML mode for html to be written back
2021-06-17 21:36:56 +02:00
Henrik Giesel
bf9cbcd527
Only toggle the current field, not all
2021-06-17 20:57:20 +02:00
Henrik Giesel
7687a030ff
Make Codable enter behavior the same as Editable
2021-06-17 20:47:33 +02:00
Henrik Giesel
7530121314
Match and fold tags
2021-06-17 20:27:34 +02:00
Henrik Giesel
44e2560c8b
Make editable hide correctly when activating codable
2021-06-17 19:08:14 +02:00
Henrik Giesel
df32f60029
Successfully add monokai theming
2021-06-17 18:36:12 +02:00
Henrik Giesel
751747a693
Make DOMParser correctly return innerHTML
2021-06-17 17:52:27 +02:00
Henrik Giesel
d2b697fc1b
Make Codable correctly update the editable state and its button
2021-06-17 17:49:50 +02:00
Henrik Giesel
6ce9d18e4c
Apply the Monokai theme
2021-06-17 17:18:00 +02:00
Henrik Giesel
e895f85cbc
Setup toggleHtmlEdit on editingArea
2021-06-17 17:08:33 +02:00
Henrik Giesel
c6cee3bf31
Connect HtmlEditButton to codable
2021-06-17 15:30:05 +02:00
Henrik Giesel
48c8f89a11
Display CodeMirror in editingArea
2021-06-17 14:44:03 +02:00
Henrik Giesel
96e549e0d4
Add codable element
2021-06-17 13:46:25 +02:00
Damien Elmes
3442ba36a9
fix 'set due date' not being remembered in browser
...
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/19
2021-06-16 18:50:05 +10:00
Damien Elmes
2da9178037
Merge pull request #1237 from hgiesel/tagnone2
...
Add escape_anki_wildcards_for_search_node
2021-06-16 17:30:51 +10:00
Henrik Giesel
76e885c65e
Add escape_anki_wildcards_for_search_node
2021-06-16 09:25:27 +02:00
Henrik Giesel
3585bf0157
Revert "Remove special treatment of tag:none"
...
This reverts commit 95285ef66d .
2021-06-16 17:19:21 +10:00
Henrik Giesel
43171c02af
Allow inclusion of external icons into aqt/forms/icons
...
+ Replace old tag icon with mdi tag and tag-off icon
2021-06-16 17:19:21 +10:00
Henrik Giesel
a6b313db5b
Remove special treatment of tag:none
2021-06-16 17:19:21 +10:00
Henrik Giesel
8fd024c020
Make Browser root nodes use "_*" uniformly
2021-06-16 17:19:21 +10:00
Damien Elmes
48cffca7a9
update js deps; pin marked
...
marked 2.1.0 fails to run on node 12
2021-06-16 16:47:32 +10:00
Damien Elmes
596e37cabc
update Rust deps
2021-06-16 16:10:57 +10:00
Damien Elmes
521a158406
update to latest mypy
...
mypy's move to external types-* packages is a PITA, as it requires them
to be installed in site-packages, and provides no way to specify a custom
site-packages folder, necessitating extra scripts to mock the
site-packages path, and copy+rename the stub packages into a separate
folder.
2021-06-16 16:04:59 +10:00
RumovZ
8160e05bd6
Fix missing hyphen escape when normalizing search ( #1233 )
...
* Fix missing hyphen escape when normalizing search
* Add some more tests for normalization
* Use char to satisfy clippy
2021-06-15 10:02:39 +10:00
Thore
9a4e248317
Add hook to onDelete in AddonsDialog ( #1232 )
...
* add hook
* add me to CONTRIBUTORS
* adjust hook to comments
* Update CONTRIBUTORS
2021-06-15 10:01:29 +10:00
Damien Elmes
6643780f17
handle <br/> when rendering a single line
...
+ case-insensitive matching
https://forums.ankiweb.net/t/html-editor-modifies-note-when-a-field-with-break-tags-is-opened/10772
2021-06-14 13:05:48 +10:00
Damien Elmes
8b13625aaa
Merge pull request #1231 from RumovZ/fix-filtered-deck
...
Fix filtered deck from browser
2021-06-14 10:33:45 +10:00
Damien Elmes
0d25901641
Merge pull request #1228 from hikaru-y/fix-color-picker-buttons
...
Disable color picker buttons when a field is not focused
2021-06-14 10:30:19 +10:00
RumovZ
2aa16eadce
Fix typo
2021-06-13 08:59:58 +02:00
RumovZ
f11b39c817
Fix filtered deck from browser
...
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/14
2021-06-13 08:59:23 +02:00
hikaru-y
10f100101f
Update CONTRIBUTORS
2021-06-11 23:36:15 +09:00
hikaru-y
d6370d13bf
Disable color picker buttons when a field is not focused
2021-06-11 23:36:06 +09:00
Damien Elmes
cd303de619
specific encoding of strings.json
...
https://forums.ankiweb.net/t/win10-build-error-unicodedecodeerror-gbk-codec-cant-decode-byte-0x91/10714
2021-06-11 20:12:38 +10:00
Damien Elmes
4c9c1d4ebf
prevent cmd+c in webview with empty selection from crashing on macOS
...
https://forums.ankiweb.net/t/command-c-on-crashes-anki-2-1-41-on-mac/10684
2021-06-11 19:58:20 +10:00
Damien Elmes
548f62c6df
Merge pull request #1225 from kelciour/segoe-ui-font-fix
...
Fix Segoe UI got replaced with Arial on Windows
2021-06-10 22:29:06 +10:00
Damien Elmes
fca3c08541
Merge pull request #1224 from kelciour/mpv-playlist-fix
...
Keep the internal mpv playlist from growing on
2021-06-10 22:28:24 +10:00
Damien Elmes
153e1e8d41
new change notetype implementation for the frontend
...
- changes can now be undone
- the same field can now be mapped to multiple target fields, allowing
fields to be cloned
- the old Qt dialog has been removed
- the old col.models.change() API calls the new code, to avoid
breaking existing consumers. It requires the field map to always
be passed in, but that appears to have been the common case.
- closes #1175
2021-06-10 22:19:24 +10:00
kelciour
8a81533336
fix default font family
...
Probably a regression introduced with 818fe75721
2021-06-10 12:07:52 +03:00
kelciour
5ff2b69c0d
keep the internal mpv playlist from growing on
...
https://forums.ankiweb.net/t/audio-tracks-get-clipped-at-the-end/10289/5
2021-06-10 11:28:57 +03:00
Damien Elmes
3b4bb5fafd
fix spurious text in header injected by rust analyzer
2021-06-10 09:06:37 +10:00
Damien Elmes
e589edf6fd
when focusing current card, position at top
...
trying out the changes mentioned on
https://github.com/ankitects/anki/pull/1222#discussion_r648051997
2021-06-09 21:01:29 +10:00
Damien Elmes
7f984851b4
add notetype changing to backend
2021-06-09 20:56:52 +10:00