Anki/ts/editor
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 52722065ea.

* 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
..
editor-toolbar Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
image-overlay Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
mathjax-overlay Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
plain-text-input Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
rich-text-input Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
symbols-overlay Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
base.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
BrowserEditor.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
BUILD.bazel Fuzzy search in symbol insertion overlay (#2059) 2022-09-13 14:19:19 +10:00
change-timer.ts Add ChangeTimer.prototype.fireImmediately 2021-09-16 14:47:05 +02:00
ClozeButtons.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
code-mirror.ts Make auto-closing of HTML tags default but optional (#2101) 2022-10-03 13:14:57 +10:00
CodeMirror.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
CollapseBadge.svelte Field redesign (#2002) 2022-08-19 10:02:28 +10:00
decorated-elements.ts Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
destroyable.ts Fix Cloze button (#1504) 2021-11-24 10:25:24 +10:00
DuplicateLink.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
EditingArea.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
editor-base.scss Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
EditorField.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
FieldDescription.svelte Fix sticky field labels - Make editor toolbar+tag editor non sticky in editor (#2058) 2022-09-12 19:22:22 +10:00
Fields.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
FieldState.svelte Field redesign (#2002) 2022-08-19 10:02:28 +10:00
HandleBackground.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
HandleControl.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
HandleLabel.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
helpers.ts Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
icons.ts Field redesign (#2002) 2022-08-19 10:02:28 +10:00
index_browser.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index_creator.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index_reviewer.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
LabelContainer.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
LabelName.svelte Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
legacy.scss Center add-on icons and allow text buttons to expand in width (#2138) 2022-10-24 13:51:04 +10:00
NoteCreator.svelte Field redesign (#2002) 2022-08-19 10:02:28 +10:00
NoteEditor.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
Notification.svelte Introduce new color palette using Sass maps (#2016) 2022-09-16 14:11:18 +10:00
old-editor-adapter.ts Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
PlainTextBadge.svelte Field redesign (#2002) 2022-08-19 10:02:28 +10:00
PreviewButton.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
ReviewerEditor.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
RichTextBadge.svelte Introduce setting to collapse field by default (#1990) 2022-08-31 23:34:39 +10:00
StickyBadge.svelte Field redesign (#2002) 2022-08-19 10:02:28 +10:00
surround.ts Last polishes for Surrounder class (#2017) 2022-08-17 16:00:37 +10:00
tsconfig.json Insert symbols overlay (#2051) 2022-09-10 18:46:59 +10:00