anki/ts/editor/editor-toolbar
Matthias Metelka 68fa661b53
Finish #2070: Single overlay instead of per field (#2144)
* Move up MathjaxOverlay to be initialized only once

* Move ImageOverlay to NoteEditor root

* Move Symbols Overlay to NoteEditor root

* Refactor image overlay to not require second mutation observer

* Use elevation + overflow:hidden  in Editorfield

* Make it possible to show input next to each other again

* Set handle background color to code bg

* Make Collapsible unmount the component

* Simplify how decorated elements are mounted

* Set RichTextInput background to frame-bg again

* Strip out FocusTrap code

* Revert "Make Collapsible unmount the component"

This reverts commit 52722065ea199fa57ae750fa34bf47ee1c5aab3c.

* Allow clicking on label container to unfocus field

* Fix mathjax overlay resetting too its api too soon

* Allow scrolling on overlays

* Set focus-border border-color in focused field

* Fix background color of fields

* Add back grid-gap

removed it during merge to see if margin-top would behave any differently - which is not the case.

* Fix double border issue within Collapsible.svelte

* Format

* Edit appearance of focused fields a bit

* Remove unused properties

* Include elevation in button_mixins_lib

* Give label-container a background color

Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
2022-10-27 09:11:36 +10:00
..
AddonButtons.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
BlockButtons.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
BoldButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
ColorPicker.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
CommandIconButton.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
EditorToolbar.svelte Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
HighlightColorButton.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
icons.ts Add option to shrink editor images by default (#2071) 2022-09-26 09:47:50 +10:00
index.ts Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
InlineButtons.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
ItalicButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
LatexButton.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
NotetypeButtons.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
OptionsButton.svelte Move MathJax toggle to OptionsButton and fix two bugs (#2126) 2022-10-12 14:34:25 +10:00
RemoveFormatButton.svelte Set line-height = 1 on inline floating-reference (#2096) 2022-09-30 11:43:08 +10:00
RichTextClozeButtons.svelte Implement cloze buttons in Mathjax editor (#1860) 2022-05-13 13:04:20 +10:00
SubscriptButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
SuperscriptButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
TemplateButtons.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
TextColorButton.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
UnderlineButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
WithColorHelper.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00