Henrik Giesel
28679968f7
Disable FormatBlock buttons for Codable
2021-06-18 01:17:43 +02:00
Henrik Giesel
eeb954535f
Disable Bold button in Codable
2021-06-18 00:27:07 +02:00
Henrik Giesel
817dee1a1b
Make different onPaste behavior for Editable and Codable
2021-06-17 23:12:15 +02:00
Henrik Giesel
94c789a5bf
Have correct enter behavior in for Editable and Codable
2021-06-17 22:02:06 +02:00
Henrik Giesel
f923660fc6
Add autoclosetag addon for CodeMirror
2021-06-17 21:45:11 +02:00
Henrik Giesel
9cbc1c33e7
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
a87f81f00b
Only toggle the current field, not all
2021-06-17 20:57:20 +02:00
Henrik Giesel
7266f485d0
Make Codable enter behavior the same as Editable
2021-06-17 20:47:33 +02:00
Henrik Giesel
95dad1abc1
Match and fold tags
2021-06-17 20:27:34 +02:00
Henrik Giesel
447e54d3af
Make editable hide correctly when activating codable
2021-06-17 19:08:14 +02:00
Henrik Giesel
d80fc6a397
Successfully add monokai theming
2021-06-17 18:36:12 +02:00
Henrik Giesel
74961ff118
Make DOMParser correctly return innerHTML
2021-06-17 17:52:27 +02:00
Henrik Giesel
4daede2995
Make Codable correctly update the editable state and its button
2021-06-17 17:49:50 +02:00
Henrik Giesel
7f76a98546
Apply the Monokai theme
2021-06-17 17:18:00 +02:00
Henrik Giesel
8a902944a8
Setup toggleHtmlEdit on editingArea
2021-06-17 17:08:33 +02:00
Henrik Giesel
678a5997e9
Connect HtmlEditButton to codable
2021-06-17 15:30:05 +02:00
Henrik Giesel
8b15c81d34
Display CodeMirror in editingArea
2021-06-17 14:44:03 +02:00
Henrik Giesel
709c1be7a0
Add codable element
2021-06-17 13:46:25 +02:00
Damien Elmes
2e53dc63c8
Merge pull request #1230 from RumovZ/fields-check
...
Check for misplaced or missing clozes when adding and in the editor
2021-06-17 21:26:16 +10:00
Damien Elmes
d0ca61a608
show correct card count when removing multiple templates
...
https://forums.ankiweb.net/t/error-in-card-type-deletion/10868
2021-06-17 15:51:21 +10:00
RumovZ
87a50f22e6
Assign dupe error the lowest precedence
2021-06-16 11:42:40 +02:00
Damien Elmes
b26e125cbd
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
1dd7bacf75
Merge pull request #1237 from hgiesel/tagnone2
...
Add escape_anki_wildcards_for_search_node
2021-06-16 17:30:51 +10:00
Henrik Giesel
0f658de702
Add escape_anki_wildcards_for_search_node
2021-06-16 09:25:27 +02:00
Henrik Giesel
b8142d33c8
Revert "Remove special treatment of tag:none"
...
This reverts commit 95285ef66d02d9d3f0d560f70514b16e8a2f7bf5.
2021-06-16 17:19:21 +10:00
Henrik Giesel
3aebae9f13
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
b19e07c135
Remove special treatment of tag:none
2021-06-16 17:19:21 +10:00
Henrik Giesel
c5faf39d7c
Make Browser root nodes use "_*" uniformly
2021-06-16 17:19:21 +10:00
Damien Elmes
51de0fdcd1
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
ecdd668f9a
update Rust deps
2021-06-16 16:10:57 +10:00
Damien Elmes
d120cd7f8a
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
0f549d2b82
Merge cloze hint divs into one
2021-06-15 08:43:18 +02:00
RumovZ
5574cb1cfe
Make missing cloze a warning again
2021-06-15 08:43:00 +02:00
RumovZ
38b8e74f71
Remove desktop-specific 'Cards...' hint
2021-06-15 08:42:43 +02:00
Damien Elmes
dcfb2f1052
multiple assignment confuses mypy
2021-06-15 08:42:34 +02:00
RumovZ
d7340d3f07
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
066a2e8e1d
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
220fca9a1d
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
a4dc8a0b82
Merge pull request #1231 from RumovZ/fix-filtered-deck
...
Fix filtered deck from browser
2021-06-14 10:33:45 +10:00
Damien Elmes
621684a1d9
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
46d226c5a8
Fix typo
2021-06-13 08:59:58 +02:00
RumovZ
0033d49646
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
RumovZ
d8c3e71105
Add editor hints for cloze errors
2021-06-12 17:35:40 +02:00
RumovZ
ab7c07e830
Use fields_check() instead of duplicate_or_empty()
2021-06-12 17:34:46 +02:00
RumovZ
9acc03773a
Check for out-of-place/missing clozes when adding
2021-06-12 10:05:42 +02:00
RumovZ
aeedb4dc11
Add check for out-of-place/missing clozes
2021-06-12 10:02:21 +02:00
hikaru-y
9cea04131e
Update CONTRIBUTORS
2021-06-11 23:36:15 +09:00
hikaru-y
2778398812
Disable color picker buttons when a field is not focused
2021-06-11 23:36:06 +09:00
Damien Elmes
968bd1b27a
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
d448bd9cb6
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