Henrik Giesel
adfe6597a5
disabledKey => fieldFocusedKey
2021-07-05 18:15:03 +02:00
Damien Elmes
c01c4b642b
Merge pull request #1266 from hgiesel/renamelib
...
More uniform file naming
2021-07-02 09:31:52 +10:00
Henrik Giesel
24af5bada3
More uniform file naming
...
kebap-case for .ts, .scss, .html, and directories
2021-07-01 12:24:16 +02:00
Henrik Giesel
982afca625
Use better cloze button icon
2021-07-01 11:46:39 +02:00
Damien Elmes
18843e711d
disable cloze&math buttons in html mode
...
Following on from 8a07d3161d
Keeping them active seems to encourage users to experiment:
https://forums.ankiweb.net/t/cloze-deleting-html-svg/11011
2021-06-25 10:31:47 +10:00
Henrik Giesel
a3a59f0293
Make text wrapper buttons work with Codable
2021-06-18 02:33:56 +02:00
Henrik Giesel
8a07d3161d
Disable Media button for Codable, but keep wrapping and cloze key for now
2021-06-18 02:02:01 +02:00
Damien Elmes
0026506543
update ts deps
...
- prettier's formatting has changed, so files needed to be reformatted
- dart is spitting out deprecation warnings like:
254 │ 2: $spacer / 2,
│ ^^^^^^^^^^^
╵
bazel-out/darwin-fastbuild/bin/ts/sass/bootstrap/_variables.scss 254:6 @import
ts/sass/button_mixins.scss 2:9 @use
ts/components/ColorPicker.svelte 2:5 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($grid-gutter-width, 2)
2021-05-26 09:37:40 +10:00
Henrik Giesel
3a18dce03f
Prefer event.which over event.{key,code}
...
It works better with alternative Latin-based keyboard layouts
2021-05-22 17:50:23 +02:00
Henrik Giesel
c89c42dc37
Base shortcuts with letters no event.key, with symbols/numbers on event.code
2021-05-21 22:45:55 +02:00
Henrik Giesel
ae19ed527d
Switch to keyboard shortcuts based on event.key
2021-05-20 18:28:59 +02:00
Henrik Giesel
862905c58a
Fix typing issues
2021-05-07 02:03:55 +02:00
Henrik Giesel
8aa3f5f2fa
Translate ts files in ts/editor to svelte files
2021-05-07 02:03:55 +02:00