Henrik Giesel
|
3fb052d736
|
Use dynamicComponent instead of withLazyProps
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
c432831a19
|
Move enabled/disabled logic to EditorToolbar
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
90825cc95b
|
Pass in buttons and menus directly as stores
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
162f13fee1
|
Add ButtonDropdown for dropdowns like the MathJax dropdown on AnkiMobile
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
cd69c7ffa3
|
Add exports for add-ons
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
c1aa8d7bf7
|
Make it easier to update buttons and menus
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
5cecde34ed
|
Add titles to buttons with lazyProperties
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
04aebbd7fe
|
Move logic from index.ts to their individual files
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
cdb3221f82
|
Add first lazily loaded i18n strings
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
f033672045
|
Add SelectButton
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
675ffca1fa
|
Add dropdown menu to mathjax button
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
c61d5a501d
|
Make it so you can include DropdownMenus on all kinds of buttons
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
a053332421
|
WIP: Turn DropdownMenu into a _decorator_ usable with all other button types
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
ef9eb38d26
|
Utilize enableButtons disableButtons from Svelte component
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
62198b29a0
|
Add mathjaxButton and htmlButton instead of more button
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
6fbeeff1c5
|
Make all buttons functional
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
904aa3d45a
|
Move initialization logic from EditorToolbar to index.ts
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
e175c9348e
|
First implementation
|
2021-04-15 13:09:48 +02:00 |
|
Henrik Giesel
|
e1da2d0e01
|
Add ts/editor-toolbar
|
2021-04-15 13:09:48 +02:00 |
|