Henrik Giesel
|
b364ae5542
|
Switch from lazy loading of properties to wrapping the buttons in a function
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
d6ad5084f1
|
Add a button / buttonGroup insertion API
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
eceb98f8e6
|
Show/Hide Cloze button depending on whether cloze type
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
cbf72c0f05
|
Make buttons and button groups easily toggleable through hidden web component
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
86c57d5b75
|
Pass button groups as actual button groups, not arrays
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
d3e1bfa841
|
Pass wraps more similiar to how size is passed via CSS variables
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
c7590c8ef1
|
Use dynamicComponent instead of withLazyProps
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
28201670ee
|
Move enabled/disabled logic to EditorToolbar
|
2021-04-15 13:09:50 +02:00 |
|
Henrik Giesel
|
96feba7a3e
|
Pass in buttons and menus directly as stores
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
9cbab08b00
|
Add ButtonDropdown for dropdowns like the MathJax dropdown on AnkiMobile
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
6953389798
|
Add exports for add-ons
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
45992b68cd
|
Make it easier to update buttons and menus
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
216b93c060
|
Add titles to buttons with lazyProperties
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
4e6d5d9adb
|
Move logic from index.ts to their individual files
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
3ddbc1e6c3
|
Add first lazily loaded i18n strings
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
f526b51ea2
|
Add SelectButton
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
fa900e1565
|
Add dropdown menu to mathjax button
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
391f64f648
|
Make it so you can include DropdownMenus on all kinds of buttons
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
5eb07d3fc7
|
WIP: Turn DropdownMenu into a _decorator_ usable with all other button types
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
a820059b8f
|
Utilize enableButtons disableButtons from Svelte component
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
b5b9c79f1c
|
Add mathjaxButton and htmlButton instead of more button
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
12021228a5
|
Make all buttons functional
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
2f808fe60c
|
Move initialization logic from EditorToolbar to index.ts
|
2021-04-15 13:09:49 +02:00 |
|
Henrik Giesel
|
7787a7827f
|
First implementation
|
2021-04-15 13:09:48 +02:00 |
|
Henrik Giesel
|
de77e40e4d
|
Add ts/editor-toolbar
|
2021-04-15 13:09:48 +02:00 |
|