Henrik Giesel
|
6f31ab5990
|
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
|
5cbda88605
|
Base shortcuts with letters no event.key, with symbols/numbers on event.code
|
2021-05-21 22:45:55 +02:00 |
|
Henrik Giesel
|
abf1418695
|
Switch to keyboard shortcuts based on event.key
|
2021-05-20 18:28:59 +02:00 |
|
Damien Elmes
|
3f232b6ba1
|
make sticky bar border a bit fainter
|
2021-05-20 12:49:07 +10:00 |
|
Damien Elmes
|
2ecd91eeb2
|
fix invisible dropdown arrow in night mode; use bootstrap styling in top
|
2021-05-20 12:43:47 +10:00 |
|
Damien Elmes
|
5c9f483cdc
|
move deck name into window title; v-center sticky bar
|
2021-05-19 19:34:15 +10:00 |
|
Damien Elmes
|
f93075628a
|
increase toolbar size by 5px and use the default font sizes
Workaround for #1174 for now
|
2021-05-19 19:23:32 +10:00 |
|
Henrik Giesel
|
a602561612
|
Make SaveButton functional
|
2021-05-18 18:55:22 +02:00 |
|
Henrik Giesel
|
1582bdb31e
|
Make styling on select button behave correctly
|
2021-05-18 17:50:18 +02:00 |
|
Henrik Giesel
|
30d246d74b
|
WIP: Use our components in deckoptions sticky bar
|
2021-05-18 16:32:29 +02:00 |
|
Henrik Giesel
|
755b39b59e
|
Check for id when inserting dynamic elements
* I'm not sure it behaved, if there were multiple elements
inserted by different add-ons into the same container
|
2021-05-07 16:50:17 +02:00 |
|
Henrik Giesel
|
c894d32c14
|
Fix remaining errors in editor/*.svelte files
|
2021-05-07 15:10:28 +02:00 |
|
Henrik Giesel
|
9379477e09
|
Use MouseEvent instead of KeyboardEvent in WithShortcut
* otherwise the disabled button will allow it to pass through
|
2021-05-07 14:46:08 +02:00 |
|
Henrik Giesel
|
3d4224a886
|
Rename Detachable.detach to detached
|
2021-05-07 14:31:08 +02:00 |
|
Henrik Giesel
|
bb2fb8e9f5
|
Fix ButtonDropdown
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
0a979d789a
|
Make LabelButtons support active notion
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
95b6b386dc
|
Only initialize extension apis if necessary
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
d92a0c44c7
|
Add lefttopbtns as AddonButtons
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
d3bec1a584
|
Add ButtonToolbarItem as interface for modifying button groups
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
55e8256f0e
|
Clean up ButtonGroup and factor out extension logic
|
2021-05-07 02:04:44 +02:00 |
|
Henrik Giesel
|
dd99524ae0
|
Enable setting of PreviewButton and hiding of cloze button again
|
2021-05-07 02:04:42 +02:00 |
|
Henrik Giesel
|
0612c3428b
|
Fix typing issues
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
74dad42df3
|
Use ButtonGroupItem for all buttons in editor
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
68339ab0b0
|
Set ButtonPosition via ButtonGroupItem
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
f724b45ae1
|
Add hiding functionality in ButtonGroup
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
da5756822f
|
Add API for adding new buttons, updating existing ones in ButtonGroup
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
5f8f4c06f8
|
Fix issue with dropdowns
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
deafb0925c
|
Add .dropdown-menu class to DropdownMenu
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
099325f407
|
Add back ColorButtons
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
af7b1f7d7f
|
Activate FormatBlockButtons
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
e7706bac6d
|
Refactor {CommandIcon,Icon,Square}Button into IconButton and WithState
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
76ea48fade
|
Make StickyBar flex
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
45c52f75aa
|
Translate ts files in ts/editor to svelte files
|
2021-05-07 02:03:55 +02:00 |
|
Henrik Giesel
|
8238ec5727
|
Rename editor-toolbar to components
|
2021-05-07 02:03:55 +02:00 |
|