anki/ts/editor/mathjax-overlay
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 b62705eadf7335c7ee0c6c8797047e1f1ccdbf44.

SvelteActionReturnType does not accept Promise<void>

* Fix mess after merge commit

* Require registering surround formats
2022-08-15 13:34:16 +10:00
..
icons.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index.ts Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
MathjaxButtons.svelte Implement cloze buttons in Mathjax editor (#1860) 2022-05-13 13:04:20 +10:00
MathjaxEditor.svelte Implement cloze buttons in Mathjax editor (#1860) 2022-05-13 13:04:20 +10:00
MathjaxHandle.svelte Join RichTextAPI and RichTextContextAPI + Expose anki/RichTextInput (#1918) 2022-06-20 16:11:27 +10:00
MathjaxMenu.svelte Implement cloze buttons in Mathjax editor (#1860) 2022-05-13 13:04:20 +10:00