New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte Editor Toolbar #1109
Svelte Editor Toolbar #1109
Commits on Apr 15, 2021
-
-
-
-
-
-
-
-
-
-
Merge buttons to one OuterButtonGroup
- keeping up the concept of left / right buttons might not be necessary anymore - This might make it easier to display them on mobile, and simplifies the logic
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Fix clicking the bold button immediately showing the updated button s…
…tate - rather than only after typing
-
-
-
Change overflow of button groups to overflow-y auto
Avoids erratic creation of scrollbars
-
-
-
-
Make wraps a passable prop to EditorToolbar
Can be set to nowrap via document.getElementByID("editorToolbar").component.$set({ wraps: false })
-
-
-
-
-
-
-
-
Remove $$restProps and make explicit dropdown support in buttons
* Currently LabelButton, CommandIconButtton, and IconButton support dropdowns
-
-
-
-
-
-
-
-
-
-
-
-
Style light mode button bar with borders
- whereas night mode toolbar has no visible borders
-
-
-
-
-
-
-
-
-
-
Add Latex formatting options to menu
* Format shortcuts in monospace font and increase padding a little bit
-
-
-
-
-
-
This was an experiment, to adjust the field border-radius to the buttons, but I think it looks cleaner if the fields are square
-
Abandon btn-secondary and btn-light in favor our own definitions btn-…
…night and btn-day
Commits on Apr 16, 2021
-
Solve the race conditions of button insertion by operating on promise…
…s in EditorToolbar