Henrik Giesel
5197e3b779
Prefer optionalModifiers over register multiple shortcuts
2021-04-22 18:15:25 +02:00
Henrik Giesel
31e4b79ff4
Add optionalModifiers parameter to registerShortcut
2021-04-22 17:28:38 +02:00
Henrik Giesel
7aaf7b7fe0
Add license headers
2021-04-22 16:49:30 +02:00
Henrik Giesel
57357a42a5
Satisfy formatter
2021-04-22 15:24:27 +02:00
Henrik Giesel
f6ef4d43cb
Use registerShortcut in inputHandlers + Avoid focus on color picker
2021-04-22 15:09:09 +02:00
Henrik Giesel
8ca40369a7
Fix typo deregisters
2021-04-22 14:54:29 +02:00
Henrik Giesel
47809f6230
Add shortcut labels for ColorPicker and Latex items
2021-04-22 14:35:44 +02:00
Henrik Giesel
3cf7db8557
Add better better shortcutLabel support for buttons
2021-04-22 14:18:48 +02:00
Damien Elmes
e5c5c91ec8
override some bootstrap styles for night mode
...
There's probably a better way to accomplish this - fixes welcome!
Also fix the page reloading when enter hit inside the modal.
2021-04-22 21:57:32 +10:00
Henrik Giesel
4a264cd8b7
Add editing fluent strings without attached keyboard shortcuts
2021-04-22 13:38:37 +02:00
Henrik Giesel
e95e78da9c
Add getPlatformString for making shortcuts to platform string
2021-04-22 13:04:24 +02:00
Damien Elmes
f6a59ebdfa
split deck description into separate screen linked from overview
2021-04-22 21:03:16 +10:00
Damien Elmes
1ddfd73da6
catch ctrl/cmd+enter to save settings
2021-04-22 19:54:57 +10:00
Damien Elmes
dc46ece8f2
move top padding into sticky area to prevent movement
2021-04-22 19:54:50 +10:00
Damien Elmes
5a531cd28c
disable overscroll on html as well
2021-04-22 19:54:44 +10:00
Damien Elmes
defd28caca
more layout tweaks
...
- reduce maximum width
- de-emphasise revert and info buttons
- reduce grid margin
2021-04-22 18:11:27 +10:00
Damien Elmes
a149048b0a
add a workaround for bad save button in rtl mode
...
Bootstrap provides a different set of CSS for RTL languages, but having
to deal with two separate sets of css files depending on the language
would be a PITA.
2021-04-22 17:45:16 +10:00
Damien Elmes
b9a13496ba
fix add/rename dialog right-aligning, and RTL issue
2021-04-22 17:31:33 +10:00
Damien Elmes
0e9f36c416
fill width when steps exceed 2; add bottom margin
2021-04-22 17:28:14 +10:00
Damien Elmes
052c992093
allow checkboxes and select entries to take up whole line
2021-04-22 16:47:10 +10:00
Damien Elmes
5eb5664c12
switch config to a grid; move info to popups
2021-04-22 15:39:50 +10:00
rgreenblatt
a889496442
Added to CONTRIBUTORS
2021-04-22 00:58:59 -04:00
rgreenblatt
c7772794aa
solve missing escape of ' ( fixes #1144 )
2021-04-22 00:54:11 -04:00
Damien Elmes
c5eedfb21e
fix select appearance inside webview
2021-04-22 11:41:41 +10:00
Henrik Giesel
2109b67caf
Move up cloze id
2021-04-22 03:37:01 +02:00
Damien Elmes
7dc131c3de
minor layout tweaks to deck conf screen
...
- more space for dropdown
- limit width of main area so popups wrap correctly
- experiment with different colour dropdown
2021-04-22 11:33:27 +10:00
Henrik Giesel
d2ca94a29d
Move other buttons to WithShortcut
2021-04-22 03:25:31 +02:00
Damien Elmes
30f5269304
hook new deck config screen up behind an env var
2021-04-22 10:59:16 +10:00
Henrik Giesel
85f89dc111
Add first shortcuts for bold, italic, underline, removeFormat
2021-04-22 02:37:04 +02:00
Henrik Giesel
dc5b13eeab
Use registerShortcut within WithShortcut
2021-04-22 01:15:38 +02:00
Henrik Giesel
b57810556d
Add lib/shortcuts
2021-04-22 01:15:38 +02:00
Henrik Giesel
5152dce7b8
Add WithShortcut
2021-04-22 01:15:38 +02:00
Damien Elmes
e3a7d1a9e3
Merge pull request #1140 from hgiesel/paragrapho
...
Restructure editor-toolbar and editor + Change Enter behavior within paragraphs + Restrict indent / outdent to <li>
2021-04-22 08:39:28 +10:00
Henrik Giesel
fe4d44da48
Remove paragraph fluent string
2021-04-21 15:16:02 +02:00
Henrik Giesel
74fb75c5c4
Fix isBlockElement()
2021-04-21 14:40:16 +02:00
Henrik Giesel
1f97f5208e
Remove paragraph button
2021-04-21 14:36:24 +02:00
Henrik Giesel
64db04f1bb
Prefer exec over matchAll
2021-04-21 14:18:44 +02:00
Henrik Giesel
72b33bf361
Gather editor-toolbar svelte components into filegroup
2021-04-21 13:18:31 +02:00
Henrik Giesel
488fb1af85
Add copyright headers
2021-04-20 15:43:59 +02:00
Henrik Giesel
66b3096926
Remove last ts-expect-error
2021-04-20 15:41:26 +02:00
Henrik Giesel
731f9d109f
Move toolbar initialization into toolbar.ts
2021-04-20 15:32:02 +02:00
Henrik Giesel
37ea39f779
Move dynamic component initialization logic from editor to editor-toolbar
2021-04-20 14:23:28 +02:00
Damien Elmes
fd81700679
deckconf -> deckconfig
2021-04-20 21:54:24 +10:00
Henrik Giesel
dcb6a11053
Improve behavior of paragraph command and add tooltip
2021-04-20 13:46:01 +02:00
Henrik Giesel
893028b2df
Make indent outdent only work for list items
...
+ make paragraph show its active state
2021-04-20 13:44:44 +02:00
Henrik Giesel
9803bb19ca
Move button implementations from editor-toolbar to editor
2021-04-20 13:44:44 +02:00
Henrik Giesel
b1de095162
Include editor-toolbar as a library in editor
2021-04-20 13:44:44 +02:00
Henrik Giesel
e60e784152
Generalize commandIconButton functionality of setting active state
2021-04-20 13:44:44 +02:00
Henrik Giesel
fcb2ab28e3
Add paragraph button
2021-04-20 13:44:44 +02:00
Henrik Giesel
5bc8385f8b
Don't use <br>s when inside of paragraph
2021-04-20 13:44:44 +02:00