Anki/ts/editor/editor-toolbar
Henrik Giesel 9ca13ca3bc
Refactor how toolbar buttons get to surround within editor fields (#1931)
* Export surrounder directly from RichTextInput

* Change wording in editor/surround

* Remove empty line

* Change wording

* Fix interfaces

* Add field description directly in NoteEditor

* Strip description logic from ContentEditable

* Make RichTextInput position: relative

* Make attachToShadow an async function

* Apply field styling to field description

* Show FieldDescription only if content empty

* Remove descriptionStore and descriptionKey

* Revert "Make attachToShadow an async function"

This reverts commit b62705eadf.

SvelteActionReturnType does not accept Promise<void>

* Fix mess after merge commit

* Require registering surround formats
2022-08-15 13:34:16 +10:00
..
AddonButtons.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
BlockButtons.svelte Plaintext import/export (#1850) 2022-06-01 20:26:16 +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 Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
EditorToolbar.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
HighlightColorButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
icons.ts Implement cloze buttons in Mathjax editor (#1860) 2022-05-13 13:04:20 +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 Set caret inside chemical expression in Mathjax (#1763) 2022-03-31 23:39:49 +10:00
NotetypeButtons.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
RemoveFormatButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +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 Add extra button group for cloze commands (#1756) 2022-03-31 13:30:00 +10:00
TextColorButton.svelte Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +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